Skip to main content

discount_allocation

Information about how a discount affects an item.

To learn about how to display discounts in your theme, refer to Discounts.

Properties

The amount that the item is discounted by in the currency's subunit.

The value is output in the customer's local (presentment) currency.

For currencies without subunits, such as JPY and KRW, tenths and hundredths of a unit are appended. For example, 1000 Japanese yen is output as 100000.

Tip

Use money filters to output a formatted amount.

Anchor to
discount_application

The discount application that applies the discount to the item.

{
"amount": "40.00",
"discount_application": "DiscountApplicationDrop"
}
Was this section helpful?