API version 2021-01 Release candidate
API version 2020-10 Latest
API version 2020-07
API version 2020-04
API version 2020-01
API version 2019-10 Unsupported
API version 2019-07 Unsupported

CalculatedDiscountAllocation object

Version 2021-01 (Release candidate)

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

Required access

read_order_edits access scope.

Fields

allocatedAmountSet (MoneyBag!)

The money amount allocated by the discount application in shop and presentment currencies.

discountApplication (CalculatedDiscountApplication!)

The discount that the allocated amount originated from.

Types that return CalculatedDiscountAllocation

Version 2020-10 (Latest)

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

Required access

read_order_edits access scope.

Fields

allocatedAmountSet (MoneyBag!)

The money amount allocated by the discount application in shop and presentment currencies.

discountApplication (CalculatedDiscountApplication!)

The discount that the allocated amount originated from.

Types that return CalculatedDiscountAllocation