Skip to main content

OrderItemDiscountInput

Input for 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

OrderItemCreateInput input ● OrderItemUpdateInput input