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.
bundleSettings
BundleSettingsModelShow the product bundle settings.
fileId
StringId of product file.
hsCode
StringHs code of the variant.
images
[ProductImage!]List of images for variant.
Whether the variant is active or not.
List of prices for the variant.
sellIfOutOfStock
BooleanWhether to sell if variant is out of stock or not.
sku
StringSKU of the variant.
stocks
[ProductStockLocation!]unit
VariantUnitModelTranslations for the product.
variantValueIds
[VariantValueRelation!]List of variant value ids.
weight
FloatWeight of the variant.