Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Filtering prdocuts by tags

filippol
Visitor
3 0 1

Hi, i'm trying to use this api "/admin/api/2023-07/products.json?tags=MY_TAG" to filter products by tag but it just return with the full list of my products. What am i doing wrong?

 

To add a bit: my final goal is to create a survey where, after it's been submitted, I can filter products with the answers given by the customers so that i can show them the list, or the single product, that they are looking for.

 

Thanks in advance!

Reply 1 (1)
filippol
Visitor
3 0 1

Thanks for the reply.
I've seen the documentation, but since the Product resource has tags as parameters I thought there would be an api for that too.
So I guess the only way to filter for tags is get the full list and then filtering the array through js or similar