Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search using Prestashop web service

I'm trying to use Prestashop's web service to build an app for my store. For searching products, it's known that we can use

http://store_url/api/search?query=keywords&language=1

But if I search for anything, it won't give me more than 10 results. I've tried using &limit and &display. But nothing works.

If there's an alternative, please let me know.

like image 203
Abhishek Anantharaju Avatar asked Jul 20 '15 16:07

Abhishek Anantharaju


1 Answers

I think you can try this way to search products:

http://store_url/api/products/?display=full&limit=2&filter[name]=[print]%

You can change display and limit.

It's from Prestashop web services doc.

Hope this helps anyone.

like image 88
Ilya Kyrylov Avatar answered Sep 28 '22 01:09

Ilya Kyrylov