Created
September 29, 2024 18:57
-
-
Save jaredkc/b790e26cbdd510d976fb1f9ee8930b2b to your computer and use it in GitHub Desktop.
Shopify GraphQL query productByHandle with sellingPlans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query { | |
productByHandle(handle: "protein-juice-cleanse") { | |
id | |
title | |
requiresSellingPlan | |
sellingPlanGroups(first:1) { | |
edges { | |
node { | |
sellingPlans(first: 6) { | |
edges { | |
node { | |
id | |
name | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment