Anchor to CartAutomaticDiscountAllocationCart
objectCart Automatic Discount Allocation
A discount allocation that applies automatically to a cart line when configured conditions are met. Unlike , automatic discounts don't require customers to enter a code.
Anchor to FieldsFields
- discountedAmount (MoneyV2!)
- sourceDiscountApplication (BaseCartDiscountApplication!)
- targetType (DiscountApplicationTargetType!)
- title (String!)
- discountApplication (CartDiscountApplication!): deprecated
- Anchor to discountedAmountdiscounted•Money
Amount V2! non-null The discounted amount that has been applied to the cart line.
- Anchor to sourceDiscountApplicationsource•Base
Discount Application Cart Discount Application! non-null The discount application that created this allocation, with corrected value semantics.
- Anchor to targetTypetarget•Discount
Type Application Target Type! non-null The type of line that the discount is applicable towards.
- Anchor to titletitle•String!non-null
The title of the allocated discount.
- Anchor to discountApplicationdiscount•Cart
Application Discount Application! non-nullDeprecated
Was this section helpful?