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: ProductVariant:read
105#
106# Limit is optional
107#
108# Arguments
109# where: (self-explanatory)
110# sort: (self-explanatory)
111# limit: (self-explanatory)
112# page: (self-explanatory)
113variants(where: ProductVariantFilter, sort: [ProductVariantSort!] = [id_ASC], limit: Int, page: Int): [ProductVariant!]!
114
115externalId: String
116
117}