Skip to main content
Anchor to ProductVariantsBulkInput

ProductVariantsBulkInput

input_object

The input fields for specifying a product variant to create as part of a variant bulk mutation.

•String

The value of the barcode associated with the product variant.

•Money

The compare-at price of the variant.

•ID

Specifies the product variant to update or delete.

•InventoryItemInput

The inventory item associated with the variant, used for unit cost.

•ProductVariantInventoryPolicy

Whether customers are allowed to place an order for the variant when it's out of stock. Defaults to DENY.

•[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.

•ID

The ID of the media that's associated with the variant.

•[String!]

The URL of the media to associate with the variant.

•[MetafieldInput!]

The additional customizable information about the product variant.

•[VariantOptionValueInput!]

The custom properties that a shop owner uses to define product variants.

•Money

The price of the variant.

•Boolean

Whether a product variant requires components. The default value is false. If true, then the product variant can only be purchased as a parent bundle with components and it will be omitted from channels that don't support bundles.

•Boolean

Whether the unit price should be shown for this product variant.

•Boolean

Whether the variant is taxable.

•String

The tax code associated with the variant.

Anchor to unitPriceMeasurementunitPriceMeasurement
•UnitPriceMeasurementInput

The unit price measurement for the product variant.


Was this section helpful?