SBProductVariant

SBProductVariant

This object represents a product variant in your business. Product variants allow you to define different versions of the same product with unique attributes like size, color, or other characteristics.

AttributeDescriptionTypeRequired
idUnique identifier of the variantintegerYes
productIdID of the parent productintegerYes
nameName of the variantstringNo
slugURL-friendly identifierstringNo
taxableWhether the variant is taxablebooleanNo
weightWeight of the variantdecimalNo
weightUnitUnit of weight measurementstringNo
priceCurrent pricedecimalYes
initialPriceOriginal/initial pricedecimalNo
skuStock Keeping UnitstringNo
upcUniversal Product CodestringNo
gtinGlobal Trade Item NumberstringNo
createdAtCreation timestampdatetimeYes
updatedAtLast update timestampdatetimeNo