INPUT_OBJECT

ProductVariantUpdateInput

link GraphQL Schema definition

1input ProductVariantUpdateInput {
2
3name: String
4
5status: Status
6
7variantNumber: String
8
9internalName: String
10
11unitCost: MonetaryValueInput
12
13# You can set the size chart only once.
14#
15# Exactly one input field should be provided
16sizeChart: SizeChartInput
17
18# Required permission: ProductVariant.attributes:write
19assignMappedAttributes: [MappedAttributeAssignInput!]
20
21# Required permission: ProductVariant.attributes:write
22unassignMappedAttributes: [MappedAttributeUnassignInput!]
23
24shippingSpecificationSettings: ShippingSpecificationSettingsInput
25
26# Required permission: ProductVariant.attributes:write
27assignDynamicAttributes: [DynamicAttributeAssignInput!]
28
29# Required permission: ProductVariant.attributes:write
30unassignDynamicAttributes: [DynamicAttributeUnassignInput!]
31
32# Assign an external ID to reference this object by it later
33externalId: String
34}

link Required by