Skip to main content
object

The actual amount discounted on a line item or shipping line. While DiscountApplication captures the discount's intentions and rules, The DiscountAllocation object shows the final calculated discount amount applied to each line.

The allocation includes the discounted amount in both shop and presentment currencies, with a reference to the originating discount application.

•MoneyBag!
non-null

The money amount that's allocated to a line based on the associated discount application in shop and presentment currencies.

Show fields
•DiscountApplication!
non-null

The discount application that the allocated amount originated from.

Show fields
•MoneyV2!
non-nullDeprecated
Show fields

Was this section helpful?