Skip to main content

Product Variant Input Model

Fields

FieldDescriptionType
productVariant1OptionNameName of product variant option 1. Value must be an existing variantOption in productVariant1Options input of Product Input Model.stringrequired when productVariant1Options input of Product Input Model has value.
productVariant2OptionNameName of product variant option 2. Value must be an existing variantOption in productVariant2Options input of Product Input Model.stringrequired when productVariant2Options input of Product Input Model has value.
pricePrice of product.number
minPriceMinimum price of product.number
stockCodeStock code. It is recommended to assign a stock code that indicates the variant option values.string, maxLength(30)required
barCodeProduct barcode.string
imageProduct image. (Base64 encoded string)string