Readonly
actionOptional
Readonly
skuThe sku
of the ProductVariant to become the Master Variant.
Optional
Readonly
stagedIf true
, only the staged Master Variant is changed. If false
, both the current and staged Master Variant are changed.
Optional
Readonly
variantThe id
of the ProductVariant to become the Master Variant.
Assigns the specified Product Variant to the
masterVariant
and removes the same fromvariants
at the same time. The current Master Variant becomes part of thevariants
array. EithervariantId
orsku
is required.