INTERFACE

OrderLine

link GraphQL Schema definition

1interface OrderLine {
2id: Int!
3
4size: String!
5
6productNumber: String!
7
8hasAnyDiscount: Boolean!
9
10comment: String
11
12productName: String
13
14productBrand: String
15
16productVariantName: String
17
18folderName: String
19
20# If set, it holds the absolute url where this item can be seen
21productExternalUrl: String
22
23frontendItemId: String
24
25# The current quantity for the order line, excluding cancelled units
26quantity: Int!
27
28cancelledQuantity: Int!
29
30returnedQuantity: Int!
31
32# Original price taken from the pricelist, might include or exclude taxes depending on the param
33#
34# Arguments
35# includingTax: (self-explanatory)
36unitOriginalPrice(includingTax: Boolean! = true): MonetaryValue!
37
38# Arguments
39# includingTax: (self-explanatory)
40unitPrice(includingTax: Boolean! = true): MonetaryValue!
41
42discountPercent: Float!
43
44taxPercent: Float!
45
46# Arguments
47# includingTax: (self-explanatory)
48lineValue(includingTax: Boolean! = true): MonetaryValue!
49
50lineCampaign: OrderLineCampaign
51
52# Required permission: Brand:read
53#
54# Store restrictions apply.
55brand: Brand
56
57# Required permission: Category:read
58#
59# Store restrictions apply.
60category: Category
61
62# Required permission: Collection:read
63collection: Collection
64
65# Required permission: DeliveryWindow:read
66#
67# Store restrictions apply.
68deliveryWindow: DeliveryWindow
69
70# Required permission: Display:read
71#
72# Store restrictions apply.
73display: Display
74
75# Required permission: Display:read
76#
77# Store restrictions apply.
78displayItem: DisplayItem
79
80# Required permission: Folder:read
81folder: Folder
82
83# Required permission: Invoice:read
84#
85# All elements are always returned
86invoiceLines: [InvoiceLine!]!
87
88# Required permission: none
89#
90# Store restrictions apply.
91order: Order!
92
93# Required permission: Product:read
94product: Product
95
96# Required permission: ProductVariant:read
97productVariant: ProductVariant
98
99# Required permission: none
100productSize: ProductSize
101
102# Required permission: TaxRule:read
103taxGroup: TaxGroup
104
105# Required permission: Allocation:read
106#
107# Limit is optional
108#
109# Arguments
110# where: (self-explanatory)
111# sort: (self-explanatory)
112# limit: (self-explanatory)
113# page: (self-explanatory)
114allocations(where: AllocationFilter, sort: [AllocationSort!] = [id_ASC], limit: Int, page: Int = 1): [Allocation!]!
115
116externalId: String
117
118}