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

    Interface ProductDiscountValueAbsoluteDraft

    Discounts the Product Price by a fixed amount, defined by the money field.

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    money: Money[]

    Money values in different currencies. An absolute Product 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 is empty or has multiple values of the same currency, the API returns an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
    
    type: "absolute"