Przejdź do głównej zawartości

OrderDiscountAllocation

Per-code discount applied to an order. Mirrors a cart discount allocation; the sum across allocations equals the order-level discount.

type OrderDiscountAllocation {
amount: Money!
discountCode: String!
}

Fields

OrderDiscountAllocation.amount ● Money! non-null object

Amount discounted by this code on the order, in the order currency.

OrderDiscountAllocation.discountCode ● String! non-null scalar

The discount code that produced this allocation.

Member Of

Order object ● OrderLineItem object