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

    Interface ProductPriceChangedMessagePayload

    Generated after a successful Change Price update action.

    interface ProductPriceChangedMessagePayload {
        newPrice: Price;
        oldPrice: Price;
        oldStagedPrice?: Price;
        staged: boolean;
        type: "ProductPriceChanged";
        variantId: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    newPrice: Price

    The Embedded Price after the Change Embedded Price update action.

    oldPrice: Price

    The current Embedded Price before the Change Embedded Price update action.

    oldStagedPrice?: Price

    The staged Embedded Price before the Change Embedded Price update action.

    staged: boolean

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

    type: "ProductPriceChanged"
    variantId: number

    Unique identifier of the ProductVariant for which the Price was changed.