Skip to main content
Version: 3.x

productVariant

Look up a product variant by ID or SKU. Requires one of the following permissions to include the unpublished items: MANAGE_ORDERS, MANAGE_DISCOUNTS, MANAGE_PRODUCTS.

productVariant(
id: ID
sku: String
channel: String
): ProductVariant

Arguments

id (ID)

ID of the product variant.

sku (String)

Sku of the product variant.

channel (String)

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

Type

ProductVariant

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