UpdateProductVariantDTO
The data to update in a product variant. The id
is used to identify which product variant to update.
id
stringRequiredThe ID of the product variant to update.
title
stringThe tile of the product variant.
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
CreateProductVariantOptionDTO[]The product variant options to create and associate with the product variant.
options
CreateProductVariantOptionDTO[]metadata
Record<string, unknown>Holds custom data in key-value pairs.
Was this section helpful?