Requires read_products access scope.

Represents a product variant.


Whether the product variant is available for sale.

The value of the barcode associated with the product.

The compare-at price of the variant in the default shop currency.

The pricing that applies for a customer in a given context.

The date and time when the variant was created.

A default cursor that returns the single next record, sorted ascending by ID.

The delivery profile for the variant.

Display name of the variant, based on product's title + variant's title.

A globally-unique ID.

The featured image for the variant.

The inventory item, which is used to query for inventory information.

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

The total sellable quantity of the variant.

The ID of the corresponding resource in the REST Admin API.

The media associated with the product variant.

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

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

The order of the product variant in the list of product variants. The first position in the list is 1.

The price of the product variant in the default shop currency.

The product that this variant belongs to.

A list of the product variant components.

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.

List of product options applied to the variant.

The total sellable quantity of the variant for online channels. This doesn't represent the total available inventory or capture limitations based on customer location.

Count of selling plan groups associated with the product variant.

A list of all selling plan groups defined in the current shop associated with the product variant.

A case-sensitive identifier for the product variant in the shop. Required in order to connect to a fulfillment service.

Whether a tax is charged when the product variant is sold.

The tax code for the product variant.

The title of the product variant.

The published translations associated with the resource.

The date and time (ISO 8601 format) when the product variant was last modified.


Was this section helpful?
Map

Fields and connections from

ProductVariant


Returns a ProductVariant resource by ID.

Returns a list of product variants.


Was this section helpful?
<?>
ProductVariant Queries
ProductVariant


Appends media from a product to variants of the product.

Detaches media from product variants.

Adds multiple selling plan groups to a product variant.

Remove multiple groups from a product variant.

Creates new bundles, updates existing bundles, and removes bundle components for one or multiple bundles.

Creates multiple variants in a single product. This mutation can be called directly or via the bulkOperation.

Updates multiple variants in a single product. This mutation can be called directly or via the bulkOperation.

Updates quantity pricing on a price list. You can use the quantityPricingByVariantUpdate mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations.


Was this section helpful?