Admin GraphQL API2024-10
Added variant_strategy
for productOptionsCreate
variant_strategy
for productOptionsCreate
In the version 2024-10 release of the Admin GraphQL API, the mutation will include a
parameter, enhancing control over variant management when adding new product options. This new parameter allows for two strategies:
: Maintains existing variants, updating them to include new option values without creating new variants as necessary.
: Generates new variants for all possible combinations of option values. This enhancement allows for more precise control over product variant configuration and inventory management.
For more detailed information and examples, visit our productOptionsCreate documentation on Shopify.dev.
Was this section helpful?