INPUT_OBJECT

CalculateVoucherSelectionLineInput

link GraphQL Schema definition

1input CalculateVoucherSelectionLineInput {
2
3lineReference: String!
4
5display: DisplayInput!
6
7# Only product size ID is supported here
8#
9# Exactly one input field should be provided
10productSize: ProductSizeInput!
11
12# Exactly one input field should be provided
13productVariant: ProductVariantInput!
14
15quantity: Int!
16
17unitOriginalPrice: MonetaryValueInput!
18
19productData: CalculateVoucherProductDataInput
20
21# Exactly one input field should be provided
22bundle: CalculateVoucherSelectionLineBundleInput
23
24# Only required for wholesale orders
25#
26# Exactly one input field should be provided
27deliveryWindow: DeliveryWindowInput
28
29discounts: [CalculateVoucherSelectionItemDiscountInput!]
30}