OBJECT

Product

link GraphQL Schema definition

1type Product implements ObjectWithAttributes, ObjectWithTranslations {
2id: Int!
3
4name: String!
5
6status: ProductStatus!
7
8productNumber: String!
9
10# Arguments
11# format: ISO-8601
12createdAt(format: String = "Y-m-d\\TH:i:sP"): DateTimeTz!
13
14# Arguments
15# format: ISO-8601
16updatedAt(format: String = "Y-m-d\\TH:i:sP"): DateTimeTz!
17
18harmonizedCommodityCode: String
19
20harmonizedCommodityCodeDescription: String
21
22# Required permission: Product.internalComment:read
23internalComment: String
24
25isBundle: Boolean!
26
27isSerializableProduct: Boolean!
28
29weight: Weight
30
31# Required permission: Product.attributes:read
32#
33# All elements are always returned
34#
35# Arguments
36# where: (self-explanatory)
37attributes(where: AssignedAttributeFilter): [Attribute!]!
38
39# Required permission: Brand:read
40#
41# Store restrictions apply.
42brand: Brand
43
44# Required permission: Bundle:read
45bundle: Bundle
46
47# Required permission: Collection:read
48collection: Collection
49
50# Required permission: Product.countryOfOrigin:read
51countryOfOrigin: Country
52
53# Required permission: Display:read
54#
55# Limit is optional
56#
57# Store restrictions apply.
58#
59# Arguments
60# where: (self-explanatory)
61# sort: (self-explanatory)
62# limit: (self-explanatory)
63# page: (self-explanatory)
64displays(where: DisplayFilter, sort: [DisplaySort!] = [id_ASC], limit: Int, page: Int): [Display!]!
65
66# Required permission: Folder:read
67folder: Folder
68
69# Required permission: Translation:read
70#
71# All elements are always returned
72#
73# Arguments
74# where: (self-explanatory)
75translations(where: TranslationFilter): [LanguageTranslation!]!
76
77# Required permission: MeasurementChart:read
78measurementTable: MeasurementTable
79
80# Required permission: ProductMedia:read
81#
82# Limit is optional
83#
84# Arguments
85# where: (self-explanatory)
86# sort: (self-explanatory)
87# limit: (self-explanatory)
88# page: (self-explanatory)
89media(where: ProductMediaFilter, sort: [ProductMediaSort!] = [id_ASC], limit: Int, page: Int): [ProductMedia!]!
90
91# Required permission: Price:read
92#
93# Limit is optional
94#
95# Store restrictions apply.
96#
97# Arguments
98# where: (self-explanatory)
99# sort: (self-explanatory)
100# limit: (self-explanatory)
101# page: (self-explanatory)
102prices(where: PriceFilter, sort: [PriceSort!] = [productVariantId_ASC, pricelistId_ASC], limit: Int, page: Int): [Price!]!
103
104# Required permission: Price:read
105#
106# Limit is optional
107#
108# Store restrictions apply.
109#
110# Arguments
111# where: (self-explanatory)
112# sort: (self-explanatory)
113# limit: (self-explanatory)
114# page: (self-explanatory)
115lowestPrices(where: LowestPriceFilter, sort: [LowestPriceSort!] = [productVariantId_ASC, pricelistId_ASC], limit: Int, page: Int): [LowestPrice!]!
116
117# Required permission: ProductVariant:read
118#
119# Limit is optional
120#
121# Arguments
122# where: (self-explanatory)
123# sort: (self-explanatory)
124# limit: (self-explanatory)
125# page: (self-explanatory)
126variants(where: ProductVariantFilter, sort: [ProductVariantSort!] = [id_ASC], limit: Int, page: Int): [ProductVariant!]!
127
128externalId: String
129
130}