Shopify · api · fg-0331

productCreate makes only one default variant, so multi-variant products need a second mutation

Created product shows a single Default Title variant

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

Cause

Since the 2024-04 product model, productCreate only makes the product and its first variant. Other variants go through productVariantsBulkCreate or productSet, and REST product create and list calls are deprecated.

Fix

Create the product with its options, then add variants with productVariantsBulkCreate, or send the full state with productSet for imports.

Apply

mutation($productId: ID!, $variants: [ProductVariantsBulkInput!]!) {
  productVariantsBulkCreate(productId: $productId, variants: $variants, strategy: REMOVE_STANDALONE_VARIANT) {
    productVariants { id }
    userErrors { field message }
  }
}

Affects: GraphQL Admin API 2024-04 and later; REST product endpoints deprecated from 2024-04

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp