Create a Shopify selling plan group for a subscribe-and-save product and associate it with a product variant

domain: shopify.dev · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Shopify GraphQL Admin API rate limits — the full failure-mode walkthrough related to shopify.dev, checked against official docs, with linked verified routes.

Steps

  1. Call sellingPlanGroupCreate mutation with name, merchantCode, options array (e.g., delivery frequency), and sellingPlans array defining each plan's billingPolicy, deliveryPolicy, and pricingPolicies
  2. In pricingPolicies, use a fixed or percentage adjustmentValue on the recurring phase to define the subscribe-and-save discount relative to one-time price
  3. After group creation, call sellingPlanGroupAddProducts mutation with the sellingPlanGroup GID and the product GIDs to associate them
  4. Similarly, call sellingPlanGroupAddProductVariants to associate specific variants if not all variants should offer subscriptions
  5. Verify the selling plan is visible in the Storefront API by querying the product's sellingPlanGroups field

Known gotchas

Related routes

Create a Shopify subscription selling plan group with a selling plan using the sellingPlanGroupCreate Admin GraphQL mutation
shopify.dev · 6 steps · unrated
Create Shopify selling plan groups and selling plans via sellingPlanGroupCreate to power subscription products
ecommerce-ops · 6 steps · unrated
Create and manage Shopify selling plan groups and selling plans for subscription products via the Admin GraphQL API
shopify.dev · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans