Changes the CartDiscountValue for relative, absolute and fixed price CartDiscounts. Changing to Gift Line Item is not supported.

interface CartDiscountChangeValueAction {
    action: "changeValue";
    value: CartDiscountValueDraft;
}

Properties

Properties

action: "changeValue"

New value to set. When trying to set a CartDiscountValueGiftLineItemDraft an InvalidInput error is returned.