Shopify GraphQL API / ProductVariant
A product variant represents a different version of a product, such as differing sizes or differing colors.
Implements
Fields
availableForSale : Boolean!
barcode : String
compareAtPrice : Money
compareAtPriceV2 : MoneyV2
currentlyNotInStock : Boolean!
id : ID!
image : Image
metafield
(
String: String!
String: String!
)
:
Metafield
metafields
(
String: String
Int: Int
String: String
Int: Int
String: String
Boolean: Boolean
)
:
MetafieldConnection!
price : Money!
priceV2 : MoneyV2!
product : Product!
quantityAvailable : Int
requiresShipping : Boolean!
selectedOptions : [SelectedOption!]!
sellingPlanAllocations
(
Int: Int
String: String
Int: Int
String: String
Boolean: Boolean
)
:
SellingPlanAllocationConnection!
sku : String
storeAvailability
(
Int: Int
String: String
Int: Int
String: String
Boolean: Boolean
)
:
StoreAvailabilityConnection!
title : String!
unitPrice : MoneyV2
unitPriceMeasurement : UnitPriceMeasurement
weight : Float
weightUnit : WeightUnit!