Shopify · api · fg-0331

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

If you see Created product shows a single Default Title variant, the cause and the fix for Shopify are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Created product shows a single Default Title variantCode that sent variants inside the productCreate input breaks after moving to a newer API versionREST POST /products.json is marked deprecated in the reference
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 } } }
Affected
GraphQL Admin API 2024-04 and later; REST product endpoints deprecated from 2024-04
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun