CalculatedDiscountAllocation object

An amount discounting the line that has been allocated by an associated discount application.

Required access

read_order_edits access scope.

On this page

Fields

  • allocatedAmountSet ([MoneyBag!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneybag))
    The money amount allocated by the discount application in shop and presentment currencies.
  • discountApplication ([CalculatedDiscountApplication!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddiscountapplication))
    The discount that the allocated amount originated from.

Types that return CalculatedDiscountAllocation

  • [CalculatedLineItem.calculatedDiscountAllocations](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedlineitem#calculateddiscountallocations-2021-01)