ProductOptionUpdateVariantStrategy
The set of variant strategies available for use in the mutation.
Anchor to Valid valuesValid values
- Anchor to LEAVE_AS_ISLEAVE_AS_IS•
Variants are not created nor deleted in response to option values to add or delete. In cases where deleting a variant would be necessary to complete the operation, an error will be returned.
- Anchor to MANAGEMANAGE•
Variants are created and deleted according to the option values to add and to delete.
If an option value is added, a new variant will be added for each existing option combination available on the product. For example, if the existing options are
Size
andColor
, with valuesS
/and
Red
/Blue
, adding a new option valueGreen
for the optionColor
will create variants with the option value combinationsS
/Green
and/
Green
.If an option value is deleted, all variants referencing that option value will be deleted.