Interface StandalonePriceSetDiscountedPriceAction

Discounts a Standalone Price. The referenced ProductDiscount in the discounted field must be of type external, active, and its predicate must match the referenced Price. Produces the StandalonePriceExternalDiscountSet Message.

interface StandalonePriceSetDiscountedPriceAction {
    action: "setDiscountedPrice";
    discounted?: DiscountedPriceDraft;
}

Properties

Properties

action: "setDiscountedPrice"

Value to set. If empty, any existing value will be removed.

Generated using TypeDoc