Skip to content

Instantly share code, notes, and snippets.

@seit
Created December 10, 2020 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seit/888bb5b3d193294ca0484b7c87cb5f76 to your computer and use it in GitHub Desktop.
Save seit/888bb5b3d193294ca0484b7c87cb5f76 to your computer and use it in GitHub Desktop.
query.graphql
query Products($productId:ID!,$collectionId:ID!){
product(id: $productId ) {
storefrontId
inCollection(id:$collectionId)
variants(first:250){
edges{
node{
storefrontId
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment