Product Variants Bulk Input
The input fields for specifying a product variant to create as part of a variant bulk mutation.
Anchor to FieldsFields
- Anchor to barcodebarcode•String
The value of the barcode associated with the product variant.
- Anchor to compareAtPricecompare•Money
At Price The compare-at price of the variant.
- •ID
Specifies the product variant to update or delete.
- Anchor to inventoryIteminventory•Inventory
Item Item Input The inventory item associated with the variant, used for unit cost.
- Anchor to inventoryPolicyinventory•Product
Policy Variant Inventory Policy Whether customers are allowed to place an order for the variant when it's out of stock. Defaults to
.
- Anchor to inventoryQuantitiesinventory•[Inventory
Quantities Level Input!] The inventory quantities at each location where the variant is stocked. The number of elements in the array of inventory quantities can't exceed the amount specified for the plan. Supported as input with the
mutation only.
- Anchor to mediaIdmedia•ID
Id The ID of the media that's associated with the variant.
- Anchor to mediaSrcmedia•[String!]
Src The URL of the media to associate with the variant.
- Anchor to metafieldsmetafields•[Metafield
Input!] The additional customizable information about the product variant.
- Anchor to optionValuesoption•[Variant
Values Option Value Input!] The custom properties that a shop owner uses to define product variants.
- Anchor to priceprice•Money
The price of the variant.
- Anchor to taxabletaxable•Boolean
Whether the variant is taxable.
- Anchor to taxCodetax•String
Code The tax code associated with the variant.
- Anchor to privateMetafieldsprivate•[Private
Metafields Metafield Input!]Deprecated