I want to access specified product list. for example access all the products in Jacket's category.

  • Have you try and code? Or you want know from scratch? – Dhiren Vasoya Jan 9 '18 at 13:31

You can get the list of products of specific categories using search criteria concept of rest api.

Below is the url for that .

www.yoururl/rest/V1/products?searchCriteria[filterGroups][0][filters][0][field]=category_id& searchCriteria[filterGroups][0][filters][0][value]=2& searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[sortOrders][0][field]=created_at& searchCriteria[sortOrders][0][direction]=DESC& searchCriteria[pageSize]=10& searchCriteria[currentPage]=1

Here i am getting products which having category id : 2

Here Id 2 is for jacket.

Same way you can pass your category id with the given criteria.

Note : Assuming you are aware about how to get token for rest api and how to call rest api.

  • Can you please elaborate in details.. – Ashwini Jul 30 '18 at 13:28
  • @AdityaShah - Happy to help and keep helping :) – Manthan Dave Aug 10 '18 at 6:23

You can use the dedicated REST API from Magento 2. Your need can be satisfied by calling following URL:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.