Anchor to CartCodeDiscountAllocationCart
objectCart Code Discount Allocation
A discount allocation applied to a cart line when a customer enters a discount code.
Anchor to FieldsFields
- code (String!)
- discountedAmount (MoneyV2!)
- targetType (DiscountApplicationTargetType!)
- discountApplication (CartDiscountApplication!): deprecated
- Anchor to codecode•String!non-null
The code used to apply the discount.
- Anchor to discountedAmountdiscounted•Money
Amount V2! non-null The discounted amount that has been applied to the cart line.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to discountApplicationdiscount•Cart
Application Discount Application! non-nullDeprecated
Was this section helpful?