CartDiscountAllocation
Per-code discount amount applied to the cart. Sum these for the aggregate total — or read CartCost.totalDiscount.
type CartDiscountAllocation {
amount: Money!
discountCode: String!
}
Fields
CartDiscountAllocation.amount ● Money! non-null object
Amount discounted by this code on the cart.
CartDiscountAllocation.discountCode ● String! non-null scalar
The discount code that produced this allocation.