Introducing the PRESERVE_STANDALONE_VARIANT Strategy for ProductVariantsBulkCreate

Introducing the PRESERVE_STANDALONE_VARIANT Strategy for ProductVariantsBulkCreate

Shopify Updates: 

What Is the PRESERVE_STANDALONE_VARIANT Strategy?

The new PRESERVE_STANDALONE_VARIANT strategy, introduced in the Shopify GraphQL API version 2025-10, provides developers with added flexibility in handling standalone variants. This strategy is available as an optional argument in the productVariantsBulkCreate mutation.

How Does It Work?

When using the PRESERVE_STANDALONE_VARIANT strategy, the API ensures that the existing standalone variant remains intact. This applies whether the variant is the default or a custom variant. By preserving standalone variants, the strategy helps maintain data consistency during bulk variant creation.

Why Use This Strategy?

Here are key benefits of using the PRESERVE_STANDALONE_VARIANT strategy:

  • Data Integrity: Preserves existing standalone variants, minimizing the risk of unintended data changes.
  • Custom Use Cases: Supports merchants and developers with unique requirements for bulk variant creation.

Learn More

For more detailed information and examples of how to implement this strategy, visit our productVariantsBulkCreate documentation on Shopify.dev.

Back to blog