Docs
Dashboard

ProductVariant

Object

Fields returned for product variant.

#

Fields


availability
ProductVariantAvailability

Returns the availability status of the variant, including sale eligibility and stock details.

barcode
String

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

id
ID!

Gets the unique identifier of the variant.

image
Media

Gets the featured image for the variant, the featured image is the first media of type image

media
MediaConnection!

A list of media associated with the variant.

metadata
[MetadataItem!]!

Custom metadata key/value pairs for the product variant.

metafields
[Metafield!]!

A list of metafields associated with the variant. If a metafield definition has no explicit assignment for this variant, the definition’s default value is returned.

name
String!

The name of the variant.

price
Price

Gets the scoped price for the variant, the scoped price is the price for the current channel and currency.

product
Product!

Gets the product associated with the variant.

selectedAttributes
[SelectedAttribute!]!

List of attributes and values applied to the variant.

sku
String

Gets the SKU (Stock Keeping Unit) of the variant.

weight
Weight

The weight of the variant.

#

Queries


Returns a list of product variants.