OBJECT

GiftCertificateOrderLine

link GraphQL Schema definition

1type GiftCertificateOrderLine implements 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
20productExternalUrl: String
21
22# The current quantity for the order line, excluding cancelled units
23quantity: Int!
24
25cancelledQuantity: Int!
26
27returnedQuantity: Int!
28
29# Original price taken from the pricelist, might include or exclude taxes
30# depending on the param
31#
32# Arguments
33# includingTax: (self-explanatory)
34unitOriginalPrice(includingTax: Boolean! = true): MonetaryValue!
35
36# Arguments
37# includingTax: (self-explanatory)
38unitPrice(includingTax: Boolean! = true): MonetaryValue!
39
40discountPercent: Float!
41
42taxPercent: Float!
43
44# Arguments
45# includingTax: (self-explanatory)
46lineValue(includingTax: Boolean! = true): MonetaryValue!
47
48# Required permission: Brand:read
49#
50# Store restrictions apply.
51brand: Brand
52
53# Required permission: Category:read
54#
55# Store restrictions apply.
56category: Category
57
58# Required permission: Collection:read
59collection: Collection
60
61# Required permission: DeliveryWindow:read
62#
63# Store restrictions apply.
64deliveryWindow: DeliveryWindow
65
66# Required permission: Display:read
67#
68# Store restrictions apply.
69display: Display
70
71# Required permission: Folder:read
72folder: Folder
73
74# Required permission: Invoice:read
75#
76# All elements are always returned
77invoiceLines: [InvoiceLine!]!
78
79# Required permission: none
80#
81# Store restrictions apply.
82order: Order!
83
84# Required permission: Product:read
85product: Product
86
87# Required permission: ProductVariant:read
88productVariant: ProductVariant
89
90# Required permission: none
91productSize: ProductSize
92
93# Required permission: TaxRule:read
94taxGroup: TaxGroup
95
96# Required permission: Allocation:read
97#
98# Limit is optional
99#
100# Arguments
101# where: (self-explanatory)
102# sort: (self-explanatory)
103# limit: (self-explanatory)
104# page: (self-explanatory)
105allocations(
106where: AllocationFilter,
107sort: [AllocationSort!] = [id_ASC],
108limit: Int,
109page: Int = 1
110): [Allocation!]!
111
112# Required permission: GiftCertificateGenerator:read
113#
114# Store restrictions apply.
115giftCertificateGenerator: GiftCertificateGenerator
116
117}

link Required by

This element is not required by anyone