Graph QL: query products with a specific tag and belong to a collection

jbpapp
New Member
4 0 0

Hey guys,

Is it possible to query the products in one query which belongs to a collection and also has a tag?

Something like this (obviously it is not working).

{
  collectionByHandle(handle: "frontpage") {
    products(first: 100, query: "tag:watches") {
      edges {
        node {
          id
        }
      }
    }
  }
}
0 Likes