Skip to main content

ProductVariant

A variant of a product, such as a size or colour.

type ProductVariant {
id: GlobalID!
externalId: ID!
imageUrl: String
price: Money!
product: Product!
shippable: Boolean!
sku: String
status: ProductVariantStatus!
taxable: Boolean!
title: String!
weightGrams: Int
}

Fields​

ProductVariant.id ● GlobalID! non-null scalar types​

The product variant's ID.

ProductVariant.externalId ● ID! non-null scalar types​

The variant's ID in the channel's external platform, such as Shopify.

ProductVariant.imageUrl ● String scalar types​

The URL of the variant's image.

ProductVariant.price ● Money! non-null object types​

The variant's price.

ProductVariant.product ● Product! non-null object types​

The product the variant belongs to.

ProductVariant.shippable ● Boolean! non-null scalar types​

Whether the variant requires shipping.

ProductVariant.sku ● String scalar types​

The variant's SKU.

ProductVariant.status ● ProductVariantStatus! non-null enum types​

The variant's status.

ProductVariant.taxable ● Boolean! non-null scalar types​

Whether tax is charged when the variant is sold.

ProductVariant.title ● String! non-null scalar types​

The variant's title.

ProductVariant.weightGrams ● Int scalar types​

The variant's weight in grams.

Returned By​

productVariant query

Member Of​

CampaignInventoryItem object ● CampaignOrder object ● CrowdfundingCampaign object ● LineItem object ● PresaleCampaign object ● Product object ● SubscriptionLine object ● SubscriptionOrderLine object

Implemented By​

CampaignItemResource union ● SubscriptionProductGroupItemResource union ● SubscriptionProductGroupItemSourceResource union