ProductVariant
Describes a product variant.
Type Definition
type ProductVariant {
product: Product
productId: Int
measureUnit: String
weightUnit: String
unit: String
selected: Boolean
image: Image
featuredImage: Image
previousPrices: PreviousPriceConnection
previousLowerPrice: PreviousPrice
isNew: Boolean
option1: ProductVariantOption
option2: ProductVariantOption
option3: ProductVariantOption
options: [ProductVariantOption]
url: String
id: Int
title: String
hasCustomizationsWithPrice: Boolean
customizations: [CustomizationGroup]
inPreview: Boolean
isAvailable: Boolean
isDirectlyBuyable: Boolean
gtin: String
modelNumber: String
rate: Float
bundleContents: [ProductBundleContent]
discountInformation: ProductDiscount
promotion: ProductPromotion
bulkRates: [ProductBulkRate]
originalNetPrice: Float
originalPrice: Float
netPrice: Float
price: Float
tax: Float
isOutOfStock: Boolean
stockAlarm: Boolean
discontinuedProduct: Boolean
inventoryManagement: String
notificationsSupported: Boolean
inventoryPolicy: String
attributeBasedInventory: Boolean
stock: Int
stockInOtherInventories: Boolean
quantitiesInOtherInventories: [InventoryQuantity]
sku: String
deliveryTime: DeliveryTime
weight: Float
length: Float
height: Float
width: Float
inCustomersWishlist: Boolean
customerHasPurchased: Boolean
additionalBuyButtons: Boolean
contentForAdditionalBuyButtons: String
financingOffers: Boolean
contentForFinancingOffers: String
createdAt: String
updatedAt: String
requiresShipping: Boolean
minQuantity: Int
maxQuantity: Int
}Fields
Relationships
ProductVariant represents a specific variant of a product and maintains relationships with several key types. It references a parent Product object, allowing access to product-level information. The variant can contain multiple ProductVariantOption objects representing customizable attributes. It also relates to pricing and promotional information through PreviousPrice, ProductDiscount, ProductPromotion, and ProductBulkRate types. The variant can include visual content via Image and shipping details through DeliveryTime. For products with bundles, it references ProductBundleContent, and for customizable products, it contains CustomizationGroup objects. Inventory information across multiple locations is accessible through InventoryQuantity.
Example
{
productVariant(id: 12345) {
id
title
sku
price
netPrice
originalPrice
isAvailable
isOutOfStock
stock
product {
id
title
}
featuredImage {
url
alt
}
options {
name
value
}
deliveryTime {
min
max
}
}
}Implements
This type does not implement any interfaces.