Variant
type Variant {
id: ID!
attributes: [ProductAttributeValue!]
barcodeList: [String!]
bundleSettings: BundleSettingsModel
fileId: String
hsCode: String
images: [ProductImage!]
isActive: Boolean!
prices: [ProductPrice!]!
sellIfOutOfStock: Boolean
sku: String
stocks: [ProductStockLocation!]
unit: VariantUnitModel
variantValueIds: [VariantValueRelation!]
weight: Float
}
Fields
attributes[ProductAttributeValue!]List of variant attributes.
barcodeList[String!]List of barcode for the variant.
bundleSettingsBundleSettingsModelShow the product bundle settings.
fileIdStringId of product file.
hsCodeStringHs code of the variant.
images[ProductImage!]List of images for variant.
Whether the variant is active or not.
List of prices for the variant.
sellIfOutOfStockBooleanWhether to sell if variant is out of stock or not.
skuStringSKU of the variant.
stocks[ProductStockLocation!]unitVariantUnitModelTranslations for the product.
variantValueIds[VariantValueRelation!]List of variant value ids.
weightFloatWeight of the variant.