CreateProductVariantDTO
A product variant to create.
title
stringRequiredThe tile of the product variant.
product_id
stringThe id of the product
sku
stringThe SKU of the product variant.
barcode
stringThe barcode of the product variant.
ean
stringThe EAN of the product variant.
upc
stringThe UPC of the product variant.
allow_backorder
booleanWhether the product variant can be ordered when it's out of stock.
inventory_quantity
numberThe inventory quantiy of the product variant.
manage_inventory
booleanWhether the product variant's inventory should be managed by the core system.
hs_code
stringThe HS Code of the product variant.
origin_country
stringThe origin country of the product variant.
mid_code
stringThe MID Code of the product variant.
material
stringThe material of the product variant.
weight
numberThe weight of the product variant.
length
numberThe length of the product variant.
height
numberThe height of the product variant.
width
numberThe width of the product variant.
options
Record<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.
metadata
Record<string, unknown>Holds custom data in key-value pairs.
Was this section helpful?