The set of variant strategies available for use in the mutation.
Valid values
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.
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.