ProductVariantsUpdateInput
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.
- ID!
id The unique identifier of the product variant to be updated.
- [KeyValuePairOfStringAndStringInput!]
metadata Metadata associated with the product variant.
- [MetafieldInput!]
metafields Metafield values to add or update on the product variant. Existing metafields not included in the list are preserved. When explicitly specified as null, all assigned variant metafields are removed.
- 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