OptionaltitleDisplay name of the variant
"Sodium Chloride 500g"
OptionaldescriptionDescription of the variant
"Sodium Chloride 500g"
OptionaluomUnit of measurement for the variant quantity
"g"
OptionalpriceNumeric price value of the variant
19.99
OptionalcurrencyISO currency code for the price
"USD"
OptionalcurrencyDisplay symbol for the currency
"$"
OptionalquantityAvailable quantity in stock
100
OptionalbaseReference quantity for unit conversion calculations
500
OptionalbaseReference unit of measurement for conversions
"g"
OptionalusdPrice converted to USD for comparison
19.99
OptionallocalThe price convert to the users local currency
OptionalskuStock keeping unit identifier for inventory tracking
"NaCl-500"
OptionalurlURL to the variant's detail page
"/products/sodium-chloride-500g"
OptionalidUnique identifier within the system
12345
OptionaluuidGlobally unique identifier
"550e8400-e29b-41d4-a716-446655440000"
OptionalgradeChemical grade specification (e.g., 'ACS', 'Technical')
"ACS"
OptionalconcChemical concentration specification
"98%"
OptionalstatusCurrent status code of the variant
"IN_STOCK"
OptionalstatusHuman-readable status description
"In Stock"
OptionalshippingSpecial shipping requirements or information
"Hazardous material - special shipping required"
OptionalavailabilityAvailability of the variant
"IN_STOCK"
OptionalattributesAttributes of the variant
`[{ name: "Size", value: "500g" }]`
OptionalmolesNumber of moles of the variant
23.5
Represents a specific variation of a product with its unique characteristics and pricing. Used to model different versions or package sizes of the same product.
Example