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

    Interface ProductPriceExternalDiscountSetMessagePayload

    Generated after a successful Set Discounted Price update action.

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

    Hierarchy (View Summary)

    Index

    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.