OBJECT

Product

link GraphQL Schema definition

1type Product implements ObjectWithAttributes, Localizable {
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"): String!
13
14# Arguments
15# format: ISO-8601
16updatedAt(format: String = "Y-m-d\\TH:i:sP"): String!
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
34attributes: [Attribute!]!
35
36# Required permission: Brand:read
37#
38# Store restrictions apply.
39brand: Brand
40
41# Required permission: Bundle:read
42bundle: Bundle
43
44# Required permission: Collection:read
45collection: Collection
46
47# Required permission: Product.countryOfOrigin:read
48countryOfOrigin: Country
49
50# Required permission: Display:read
51#
52# Limit is optional
53#
54# Store restrictions apply.
55#
56# Arguments
57# where: (self-explanatory)
58# sort: (self-explanatory)
59# limit: (self-explanatory)
60# page: (self-explanatory)
61displays(where: DisplayFilter, sort: [DisplaySort!] = [id_ASC], limit: Int, page: Int): [Display!]!
62
63# Required permission: Folder:read
64folder: Folder
65
66# Required permission: Localization:read
67#
68# All elements are always returned
69#
70# Arguments
71# where: (self-explanatory)
72localized(where: LocalizationFilter): [Localization!]!
73
74# Required permission: MeasurementChart:read
75measurementTable: MeasurementTable
76
77# Required permission: ProductMedia:read
78#
79# Limit is optional
80#
81# Arguments
82# where: (self-explanatory)
83# sort: (self-explanatory)
84# limit: (self-explanatory)
85# page: (self-explanatory)
86media(where: ProductMediaFilter, sort: [ProductMediaSort!] = [id_ASC], limit: Int, page: Int): [ProductMedia!]!
87
88# Required permission: Price:read
89#
90# Limit is optional
91#
92# Store restrictions apply.
93#
94# Arguments
95# where: (self-explanatory)
96# sort: (self-explanatory)
97# limit: (self-explanatory)
98# page: (self-explanatory)
99prices(where: PriceFilter, sort: [PriceSort!] = [productVariantId_ASC, pricelistId_ASC], limit: Int, page: Int): [Price!]!
100
101# Required permission: ProductVariant:read
102#
103# Limit is optional
104#
105# Arguments
106# where: (self-explanatory)
107# sort: (self-explanatory)
108# limit: (self-explanatory)
109# page: (self-explanatory)
110variants(
111where: ProductVariantFilter,
112sort: [ProductVariantSort!] = [id_ASC],
113limit: Int,
114page: Int
115): [ProductVariant!]!
116
117}