The input fields for specifying a product variant to create as part of a variant bulk mutation.
Access Scopes
Fields
barcode:
String -
The value of the barcode associated with the product variant.
compareAtPrice:
Money -
The compare-at price of the variant.
fulfillmentServiceId:
ID -
The ID of a fulfillment service that stocks a product variant.
harmonizedSystemCode:
String -
The Harmonized System code (or HS Tariff code) for the variant.
id:
ID -
Specifies the product variant to update or delete.
inventoryItem:
InventoryItemInput -
The inventory item associated with the variant, used for unit cost.
inventoryPolicy:
ProductVariantInventoryPolicy -
Whether customers are allowed to place an order for the variant when it's out of stock.
inventoryQuantities:
InventoryLevelInput -
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 `productVariantsBulkCreate` mutation only.
mediaId:
ID -
The ID of the media that's associated with the variant.
mediaSrc:
String -
The URL of the media to associate with the variant.
metafields:
MetafieldInput -
The additional customizable information about the product variant.
options:
String -
The custom properties that a shop owner uses to define product variants.