A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi, is it possible to search products by tags using Rest API?
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hey @tk_w, at this time "tags" isn't one of the available parameters that can be use to filter a GET request to the Products API. All of the available filter parameters can be found listed in this doc here - Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hey @tk_w, at this time "tags" isn't one of the available parameters that can be use to filter a GET request to the Products API. All of the available filter parameters can be found listed in this doc here - Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
I could really use this feature as well, and just learned that it's not possible. I did find a workaround though.
You can filter records via the REST API using the parameter query='string', which searches most (all?) fields at once, including tags. I was able to filter Orders by tag using this method. Just make sure your tags are not a common phrase that could occur elsewhere in the Order/Product.