Solved

Search products by tags / Rest API

tk_w
Visitor
1 0 0

Hi, is it possible to search products by tags using Rest API?

Thanks in advance!

Accepted Solution (1)

awwdam
Shopify Staff
249 42 36

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

View solution in original post

Replies 2 (2)

awwdam
Shopify Staff
249 42 36

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

GreenFlux_LLC
Shopify Partner
4 1 3

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. 

WE'VE GOT YOUR APP COVERED.
www.greenflux.us
Veteran Owned & Operated - Since 2016 - Tallahassee, FL