UpdateProductVariantDTO
internal.ProductTypes.UpdateProductVariantDTO
The data to update in a product variant. The id is used to identify which product variant to update.
Properties
allow_backorderbooleanWhether the product variant can be ordered when it's out of stock.
barcodestringThe barcode of the product variant.
eanstringThe EAN of the product variant.
heightnumberThe height of the product variant.
hs_codestringThe HS Code of the product variant.
idstringRequiredThe ID of the product variant to update.
inventory_quantitynumberThe inventory quantiy of the product variant.
lengthnumberThe length of the product variant.
manage_inventorybooleanWhether the product variant's inventory should be managed by the core system.
materialstringThe material of the product variant.
metadataRecord<string, unknown>Holds custom data in key-value pairs.
mid_codestringThe MID Code of the product variant.
optionsCreateProductVariantOptionDTO[]The product variant options to create and associate with the product variant.
origin_countrystringThe origin country of the product variant.
skustringThe SKU of the product variant.
titlestringThe tile of the product variant.
upcstringThe UPC of the product variant.
weightnumberThe weight of the product variant.
widthnumberThe width of the product variant.
Was this section helpful?