Relation is present in Admin endpoint, but not in Store endpoint #3801
-
Good day! In Store, when I query the If I fetch from What am I missing here? upd: same case for searching products in POST request |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@AlexTechNoir – I recommend using the filters on the list endpoint to retrieve products in specific product categories e.g. Regarding the search endpoint, if you don't have a search plugin installed, you won't be able to use this endpoint. Though, you can use the same list endpoint as before, to achieve your goal: I hope this helps. I will highlight your first issue for our team. |
Beta Was this translation helpful? Give feedback.
@AlexTechNoir – I recommend using the filters on the list endpoint to retrieve products in specific product categories e.g.
GET /store/products?category_id[]=pcat_123456789
. You can even pass several ids to the endpointGET /store/products?category_id[]=pcat_123456789&category_id[]=pcat_987654321
.Regarding the search endpoint, if you don't have a search plugin installed, you won't be able to use this endpoint. Though, you can use the same list endpoint as before, to achieve your goal:
GET /store/products?q=Shirt&limit=5
.I hope this helps. I will highlight your first issue for our team.