Skip to main content

OrderItemDiscountInput

Create or Update an OrderItemDiscount

input OrderItemDiscountInput {
code: String
discountAmount: Float!
discountType: OrderItemDiscountType!
discountedAt: Date!
}

Fields

OrderItemDiscountInput.code ● String scalar

OrderItemDiscountInput.discountAmount ● Float! non-null scalar

The amount of the discount.

OrderItemDiscountInput.discountType ● OrderItemDiscountType! non-null enum

The type of discount.

OrderItemDiscountInput.discountedAt ● Date! non-null scalar

Member of

CheckoutOrderItemInput input