Interface ProductPriceDiscountsSetUpdatedPrice

Details about a Embedded Price that was updated due to a Discount. Specific to ProductPriceDiscountsSet Message.

interface ProductPriceDiscountsSetUpdatedPrice {
    discounted?: DiscountedPrice;
    priceId: string;
    sku?: string;
    staged: boolean;
    variantId: number;
    variantKey?: string;
}

Properties

discounted?: DiscountedPrice

Discounted Price for the ProductVariant for which Discount was set.

priceId: string

Unique identifier of the Price.

sku?: string

SKU of the ProductVariant for which Discount was set.

staged: boolean

Whether the update was only applied to the staged ProductProjection.

variantId: number

Unique identifier of the ProductVariant for which the Discount was set.

variantKey?: string

Key of the ProductVariant for which Discount was set.

Generated using TypeDoc