INPUT_OBJECT

OrderLineCreateInput

link GraphQL Schema definition

1input OrderLineCreateInput {
2
3display: DisplayInput!
4
5# Exactly one input field should be provided
6productSize: ProductSizeInput!
7
8quantity: Int!
9
10# When `discountValue` is provided, `unitOriginalPrice` will be set as "unitPrice + discount amount".
11# Thus it cannot be provided with `unitOriginalPrice`.
12#
13# Exactly one input field should be provided
14discountValue: DiscountValueInput
15
16comment: String
17
18# If set, it holds the absolute url where this item can be seen
19productExternalUrl: String
20
21# Original price taken from the pricelist, might include or exclude taxes depending on the param
22unitOriginalPrice: MonetaryValueInput
23
24unitPrice: MonetaryValueInput!
25
26taxInPercent: Float
27
28taxOutPercent: Float
29
30category: CategoryInput
31
32taxGroup: TaxGroupInput
33
34# Exactly one input field should be provided
35deliveryWindow: DeliveryWindowInput
36}