mercredi 24 décembre 2014

Prestashop Web Service - How to filter products by category

I need help listing XML output of product details filtered by category.


Using the restful web services of prestashop, you can list all products with:


http://ift.tt/1wjGr1U


You can also list all of product id's within a category with:


http://ift.tt/1wjGpah


I am using this for an ios app, and the trouble is that i cant list products details from category [x] without making multiple calls to the api.


api/products/?display=full&filter[category]=[x] does not work. As category here is an associative array. (array within array).


What would be the best way to get a list of products from category x?


Seems like a simple request?





Aucun commentaire:

Enregistrer un commentaire