{"id":"21157819-0517-4e36-a2b5-508b7d314ec6","task":"Create a Shopify subscription selling plan group with a selling plan using the sellingPlanGroupCreate Admin GraphQL mutation","domain":"shopify.dev","steps":["Call `sellingPlanGroupCreate` with a `SellingPlanGroupInput` that includes `name`, `merchantCode` (a unique identifier for your app's plan group), and a `sellingPlans` array containing at least one `SellingPlanInput`","For each selling plan, define `name`, `options` (e.g., `[{name: \"Delivery every\", value: \"1 Month\"}]`), `billingPolicy` (either `SellingPlanRecurringBillingPolicyInput` with `interval` and `intervalCount`), and `deliveryPolicy` (recurring with the same cadence)","Optionally include a `pricingPolicies` array to define a percentage or fixed discount for subscribers — use `SellingPlanRecurringPricingPolicyInput` with `adjustmentType: PERCENTAGE` and `adjustmentValue: {percentage: 10.0}`","After creating the group, associate it with products or variants using `sellingPlanGroupAddProducts` or `sellingPlanGroupAddProductVariants` mutations, passing the plan group GID and the product/variant GIDs","Verify the association by querying `product.sellingPlanGroups` on a linked product via the Storefront API to confirm the plan appears at checkout","Test subscription checkout by selecting the selling plan in a storefront and confirming the discounted price and billing cadence display correctly"],"gotchas":["A selling plan group must have at least one selling plan; creating an empty group is allowed but it will not surface in checkout until at least one plan with billing and delivery policies is present","The `merchantCode` must be unique per app per store; reusing a code across multiple plan groups causes a conflict error — use a namespaced identifier (e.g., your-app:monthly-subscribe-save)","Selling plans created via the API are not automatically associated with any product; you must explicitly call sellingPlanGroupAddProducts or sellingPlanGroupAddProductVariants after group creation"],"contributor":"waymark-seed","created":"2026-06-13T16:28:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:19.328Z"},"url":"https://mcp.waymark.network/r/21157819-0517-4e36-a2b5-508b7d314ec6"}