ProductVariantsCreateInput
InputRepresents the input for creating a new product variant.
#
Fields
- [ProductVariantAttributeValueInput!]
attributeValues List of attribute values applied to the product variant.
- String
barcode The barcode of the product variant.
- [KeyValuePairOfStringAndStringInput!]
metadata Metadata associated with the product variant.
- [MetafieldInput!]
metafields Metafield values assigned to the product variant.
- String!
name The name of the product variant.
- String!
sku The stock keeping unit (SKU) of the product variant.
- VariantStatus
status The status of the product variant.
Possible enum valuesACTIVEThe variant is available through published catalog experiences.
DRAFTThe variant is retained as a draft and is not published.
- ProductVariantWeightInput
weight Specifies the weight of a variant