Skip to main content
object

Requires unauthenticated_read_product_listings access scope.

A product variant represents a different version of a product, such as differing sizes or differing colors.

Anchor to Fields and connectionsFields and connections

•Boolean!non-null

Indicates if the product variant is available for sale.

•String

The barcode (for example, ISBN, UPC, or GTIN) associated with the variant.

•MoneyV2

The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPrice is higher than price.

Field results may vary based on the @inContext directive values for:

•ProductVariantComponentConnection!non-null

List of bundles components included in the variant considering only fixed bundles.

•Boolean!non-null

Whether a product is out of stock but still available for purchase (used for backorders).

•ProductVariantConnection!non-null

List of bundles that include this variant considering only fixed bundles.

•ID!non-null

A globally-unique ID.

•Image

Image associated with the product variant. This field falls back to the product image if no image is available.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•[Metafield]!non-null

A list of custom fields that a merchant associates with a Shopify resource.

•MoneyV2!non-null

The product variant’s price.

Field results may vary based on the @inContext directive values for:

•Product!non-null

The product object that the product variant belongs to.

•Int

The total sellable quantity of the variant for online sales channels.

•QuantityPriceBreakConnection!non-null

A list of quantity breaks for the product variant.

Field results may vary based on the @inContext directive values for:

•QuantityRule!non-null

The quantity rule for the product variant in a given context.

Field results may vary based on the @inContext directive values for:

•Boolean!non-null

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.

•Boolean!non-null

Whether a customer needs to provide a shipping address when placing an order for the product variant.

•[SelectedOption!]!non-null

List of product options applied to the variant.

Anchor to sellingPlanAllocationssellingPlanAllocations
•SellingPlanAllocationConnection!non-null

Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing.

Anchor to shopPayInstallmentsPricingshopPayInstallmentsPricing
•ShopPayInstallmentsProductVariantPricing

The Shop Pay Installments pricing information for the product variant.

•String

The SKU (stock keeping unit) associated with the variant.

•StoreAvailabilityConnection!non-null

The in-store pickup availability of this variant by location.

•Boolean!non-null

Whether tax is charged when the product variant is sold.

•String!non-null

The product variant’s title.

•MoneyV2

The unit price value for the variant based on the variant's measurement.

Field results may vary based on the @inContext directive values for:

Anchor to unitPriceMeasurementunitPriceMeasurement
•UnitPriceMeasurement

The unit price measurement for the variant.

•Float

The weight of the product variant in the unit system specified with weight_unit.

•WeightUnit!non-null

Unit of measurement for weight.

Deprecated fields and connections

•MoneyV2Deprecated
•MoneyV2!non-nullDeprecated

Was this section helpful?


Was this section helpful?
OSZAR »