Skip to main content

OrderItemDiscount

A discount applied to an OrderItem. Discounts alter pricing of an OrderItem, and may include a coupon code to do so.

type OrderItemDiscount {
code: String
discountAmount: Float!
discountType: OrderItemDiscountType!
discountedAt: Date!
}

Fields

OrderItemDiscount.code ● String scalar

OrderItemDiscount.discountAmount ● Float! non-null scalar

The amount of the discount.

OrderItemDiscount.discountType ● OrderItemDiscountType! non-null enum

The type of discount.

OrderItemDiscount.discountedAt ● Date! non-null scalar

Member of

CheckoutOrderItem object ● PublicOrderItem object