DiscountAllocation object
An amount discounting the line that has been allocated by an associated discount application.
On this page
Fields
- allocatedAmountSet (
[MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag)
)
Money amount allocated by the discount application in shop and presentment currencies. - discountApplication (
[DiscountApplication!](https://shopify.dev/docs/admin-api/graphql/reference/orders/discountapplication)
)
The discount of which this allocated amount originated from.
Types that return DiscountAllocation
[LineItem.discountAllocations](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem#discountallocations-2021-01)
[LineItemMutable.discountAllocations](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitemmutable#discountallocations-2021-01)
[ShippingLine.discountAllocations](https://shopify.dev/docs/admin-api/graphql/reference/orders/shippingline#discountallocations-2021-01)
Deprecated fields
Show/Hide
- allocatedAmount (
[MoneyV2!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyv2)
) DEPRECATED
Money amount allocated by the discount application.
Deprecation warning
UseallocatedAmountSet
instead