INPUT_OBJECT

ProductUpdateInput

link GraphQL Schema definition

1input ProductUpdateInput {
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
19# To remove brand from a product, pass null as id
20brand: BrandInput
21
22# To remove collection from a product, pass null as id
23collection: CollectionInput
24
25# To remove country of origin from a product, pass null as id
26countryOfOrigin: CountryInput
27
28# To remove folder from a product, pass null as id
29folder: FolderInput
30
31# To remove measurement chart from a product, pass null as id
32measurementTable: MeasurementTableInput
33
34# Required permission: Product.attributes:write
35assignMappedAttributes: [MappedAttributeAssignInput!]
36
37# Required permission: Product.attributes:write
38unassignMappedAttributes: [MappedAttributeUnassignInput!]
39
40# Required permission: Product.attributes:write
41assignDynamicAttributes: [DynamicAttributeAssignInput!]
42
43# Required permission: Product.attributes:write
44unassignDynamicAttributes: [DynamicAttributeUnassignInput!]
45
46# Assign an external ID to reference this object by it later
47externalId: String
48}