Represents a type of product variant.
Fields
availableForSale ● Boolean!non-null
The availability of the variant for sale.
barcode ● String
The barcode value linked to the product.
compareAtPrice ● Money
The variant's original price, using the store's default currency.
createdAt ● Date!non-null
Creation date and time of the variant.
defaultCursor ● String!non-null
Returns the default cursor for the next variant, sorted in ascending order by variant ID.
displayName ● String!non-null
The variant's display name, derived from the product title and variant title.
id ● ID!non-null
The ID of product variant, a universally unique identifier.
image ● Image
The image of the variant.
More
inventoryItem ● InventoryItem!non-null
A product inventory item used for querying stock information.
More
inventoryPolicy ● ProductVariantInventoryPolicy
Whether the product variant can be ordered when inventory is depleted.
More
inventoryQuantity ● Int
The total available quantity for sale of the product variant.
price ● Money
The product variant's price, using the store's default currency.
product ● Product
The product to which this product variant belongs.
More
productId ● ID!non-null
The product ID that the variant belongs to.
selectedOptions ● [SelectedOption!]non-null
A list of options configured for the variant.
More
sku ● String
The SKU of the product variant, a case-sensitive string.
taxable ● Boolean!non-null
Whether the variant is taxed when sold.
title ● String!non-null
The product variant's title
updatedAt ● Date!non-null
The last modified date and time of the product variant.
weight ● Float
The product variant's weight in the unit defined by weight_unit.
weightUnit ● WeightUnit
The measurement unit for the weight of the variant. If weight_unit is not specified, the store's default measurement unit will be applied.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?