INPUT_OBJECT

ProductVariantCreateInput

link GraphQL Schema definition

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

link Required by