UpdateProductVariantDTO
The data to update in a product variant. The id
is used to identify which product variant to update.
allow_backorder
booleanWhether the product variant can be ordered when it's out of stock.
barcode
stringThe barcode of the product variant.
ean
stringThe EAN of the product variant.
height
numberThe height of the product variant.
hs_code
stringThe HS Code of the product variant.
id
stringRequiredThe ID of the product variant to update.
inventory_quantity
numberThe inventory quantiy of the product variant.
length
numberThe length of the product variant.
manage_inventory
booleanWhether the product variant's inventory should be managed by the core system.
material
stringThe material of the product variant.
metadata
Record<string, unknown>Holds custom data in key-value pairs.
mid_code
stringThe MID Code of the product variant.
options
CreateProductVariantOptionDTO[]The product variant options to create and associate with the product variant.
options
CreateProductVariantOptionDTO[]origin_country
stringThe origin country of the product variant.
sku
stringThe SKU of the product variant.
title
stringThe tile of the product variant.
upc
stringThe UPC of the product variant.
weight
numberThe weight of the product variant.
width
numberThe width of the product variant.
Was this section helpful?