@gradientedge/commercetools-utils
    Preparing search index...

    Interface VariantCreatedMessagePayload

    Generated after a successful Create Variant request.

    interface VariantCreatedMessagePayload {
        assets?: Asset[];
        attributes?: Attribute[];
        id: string;
        images?: Image[];
        key?: string;
        productId: string;
        publish: boolean;
        sku?: string;
        type: "VariantCreated";
        variantId: number;
    }

    Hierarchy (View Summary)

    Index
    assets?: Asset[]

    Assets of the Variant.

    attributes?: Attribute[]

    Attributes of the Variant.

    id: string

    Unique identifier of the Variant.

    images?: Image[]

    Images of the Variant.

    key?: string

    User-defined unique identifier of the Variant.

    productId: string

    Unique identifier of the Product to which the Variant belongs.

    publish: boolean

    Whether the Variant was published.

    sku?: string

    SKU of the Variant.

    type: "VariantCreated"
    variantId: number

    Unique identifier of the Variant within its parent Product.