Search products by tags api

Solved
Highlighted
New Member
4 0 0

Hi, I want to fetch products through tags, title, type and handle. but the most important is tags. i am not able to find any way. Can anyone help me on this. 
https://ajooba-pk.myshopify.com/admin/products.json?product_tag=Emotive&limit=2

0 Likes

Success.

Shopify Staff
Shopify Staff
1460 66 217

I recommend the GraphQL Admin API:

 

query {
  products(first:10, query:"tag:foobar") {
    pageInfo {
      hasNextPage
    }
    edges {
      cursor
      node {
        id
        tags
      }
    }
  }
}

Cheers.

0 Likes
New Member
4 0 0

Thanks for response. I already implemented Graphql and its working perfectly. thanks 

0 Likes