Skip to main content
Skip to main content

CreateProductVariantDTO

A product variant to create.

titlestringRequired
The tile of the product variant.
product_idstring
The id of the product
skustring
The SKU of the product variant.
barcodestring
The barcode of the product variant.
eanstring
The EAN of the product variant.
upcstring
The UPC of the product variant.
allow_backorderboolean
Whether the product variant can be ordered when it's out of stock.
inventory_quantitynumber
The inventory quantiy of the product variant.
manage_inventoryboolean
Whether the product variant's inventory should be managed by the core system.
hs_codestring
The HS Code of the product variant.
origin_countrystring
The origin country of the product variant.
mid_codestring
The MID Code of the product variant.
materialstring
The material of the product variant.
weightnumber
The weight of the product variant.
lengthnumber
The length of the product variant.
heightnumber
The height of the product variant.
widthnumber
The width of the product variant.
optionsRecord<string, string>
The options of the variant. Each key is an option's title, and value is an option's value. If an option with the specified title doesn't exist, a new one is created.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
Was this section helpful?