ReadonlyactionOptional ReadonlyskuThe sku of the ProductVariant to become the Master Variant.
Optional ReadonlystagedIf true, only the staged Master Variant is changed. If false, both the current and staged Master Variant are changed.
Optional ReadonlyvariantThe id of the ProductVariant to become the Master Variant.
Assigns the specified Product Variant to the
masterVariantand removes the same fromvariantsat the same time. The current Master Variant becomes part of thevariantsarray. EithervariantIdorskuis required.