Can GraphQL be used to create new products and their variants?

Topic summary

Issue: Users are encountering errors when attempting to create products with multiple variants using Shopify’s GraphQL productVariantsBulkCreate mutation.

Error Details:

  • The mutation returns: “The option doesn’t exist”
  • Error occurs when trying to create variants with option values (e.g., Color: Red, Material: Silk)
  • Problem persists in API version 2024-04

Attempted Solutions:

  • Following official Shopify documentation examples
  • Trying different approaches including adding "strategy": "REMOVE_STANDALONE_VARIANT"
  • None have resolved the issue

Current Status: The discussion remains unresolved with multiple users experiencing the same problem. No working solution or explanation has been provided yet for why the documented approach fails.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hi Omar Hernandez,

I have the same problem with version 2024-04.. any solution?
even adding: “strategy”: “REMOVE_STANDALONE_VARIANT”

Thank’s