haven't found product search api...
i was searching api which returns me matched result of my search key which is available in web but not in api.. what i found is
but this has not worked for me. it hasn't return me the specific product rather it returns me all products....
Please specify the bagsito version.
In api , it is retreiving data on the behalf of term. Try send term instead of name or try this in index method of ProductController.
//name into term
$request = request()->all();
$request['term'] = $request['name'];
// category_id into category
$request['category'] = $request['category_id'];