INPUT_OBJECT

ProductCreateInput

link GraphQL Schema definition

1input ProductCreateInput {
2
3name: String!
4
5status: ProductStatus!
6
7productNumber: String!
8
9harmonizedCommodityCode: String
10
11harmonizedCommodityCodeDescription: String
12
13internalComment: String
14
15isSerializableProduct: Boolean
16
17weight: WeightInput
18
19brand: BrandInput
20
21collection: CollectionInput
22
23countryOfOrigin: CountryInput
24
25folder: FolderInput
26
27measurementTable: MeasurementTableInput
28
29# Required permission: Product.attributes:write
30assignMappedAttributes: [MappedAttributeAssignInput!]
31
32# Required permission: Product.attributes:write
33assignDynamicAttributes: [DynamicAttributeAssignInput!]
34
35# Required permission: ProductVariant:write
36addProductVariants: [ProductVariantOnProductCreateInput!]
37
38# Assign an external ID to reference this object by it later
39externalId: String
40}