Skip to main content
Skip to main content

UpdateProductVariantDTO

The data to update in a product variant. The id is used to identify which product variant to update.

idstringRequired
The ID of the product variant to update.
titlestring
The tile of the product variant.
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.
The product variant options to create and associate with the product variant.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
Was this section helpful?