Skip to content

Relation is present in Admin endpoint, but not in Store endpoint #3801

Answered by olivermrbl
AlexTechNoir asked this question in Q&A
Discussion options

You must be logged in to vote

@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 endpoint GET /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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlexTechNoir
Comment options

Answer selected by olivermrbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants