Skip to main content
Version: Canary 🚧

productVariant

Look up a product variant by ID or SKU.

Requires one of the following permissions to include the unpublished items: MANAGE_ORDERSMANAGE_DISCOUNTSMANAGE_PRODUCTS
productVariant(
id: ID
sku: String
externalReference: String
channel: String
): ProductVariant

Arguments

productVariant.id ● ID scalar

ID of the product variant.

productVariant.sku ● String scalar

SKU of the product variant.

productVariant.externalReference ● String scalar

External ID of the product.

Added in Saleor 3.10

productVariant.channel ● String scalar

Slug of a channel for which the data should be returned.

Type

ProductVariant object

Represents a version of a product such as different size or color.


Was this page helpful?