Interface ProductPriceExternalDiscountSetMessagePayload

Generated after a successful Set Discounted Embedded Price update action.

interface ProductPriceExternalDiscountSetMessagePayload {
    discounted?: DiscountedPrice;
    priceId: string;
    sku?: string;
    staged: boolean;
    type: "ProductPriceExternalDiscountSet";
    variantId: number;
    variantKey?: string;
}

Properties

discounted?: DiscountedPrice

Discounted Price for the Product Variant for which Discount was set.

priceId: string

Unique identifier of the Price.

sku?: string

SKU of the Product Variant for which Discount was set.

staged: boolean

Whether the update was only applied to the staged Product Projection.

type: "ProductPriceExternalDiscountSet"
variantId: number

Unique identifier of the Product Variant for which the Discount was set.

variantKey?: string

Key of the Product Variant for which the Discount was set.

Generated using TypeDoc