Creates a Product Variant when included in the masterVariant and variants fields of the ProductDraft.

interface ProductVariantDraft {
    assets?: AssetDraft[];
    attributes?: Attribute[];
    images?: Image[];
    key?: string;
    prices?: PriceDraft[];
    sku?: string;
}

Properties

assets?: AssetDraft[]

Media assets for the Product Variant.

attributes?: Attribute[]

Attributes according to the respective AttributeDefinition.

images?: Image[]

Images for the Product Variant.

key?: string

User-defined unique identifier for the ProductVariant.

prices?: PriceDraft[]

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

sku?: string

User-defined unique SKU of the Product Variant.

Generated using TypeDoc