interface CartDiscountValueAbsoluteDraft {
    money: Money[];
    type: "absolute";
}

Properties

Properties

money: Money[]

Money values in different currencies. An absolute Cart Discount will match a price only if the array contains a value with the same currency. For example, if it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$. If the array has multiple values of the same currency, the API returns an InvalidOperation error.

If the array is empty, the discount does not apply.
type: "absolute"