Skip to main content
Skip to main content

AdminPostProductsProductVariantsVariantReq

constructor


Properties

allow_backorderboolean
Whether the product variant can be purchased when out of stock.
barcodestring
A generic GTIN field of the product variant.
eanstring
The EAN number of the item.
heightnumber
The height of the product variant.
hs_codestring
The Harmonized System code of the product variant.
inventory_quantitynumber
The amount of stock kept of the product variant.
lengthnumber
The length of the product variant.
manage_inventoryboolean
Whether Medusa should keep track of the inventory of this product variant.
materialstring
The material composition of the product variant.
metadataRecord<string, unknown>
An optional set of key-value pairs with additional information.
mid_codestring
The Manufacturer Identification code of the product variant.
An array of Product Option values that the variant corresponds to.

Default: []

origin_countrystring
The country of origin of the product variant.
An array of product variant prices. A product variant can have different prices for each region or currency code.
skustring
The unique SKU of the product variant.
titlestring
The title of the product variant.
upcstring
The UPC number of the item.
weightnumber
The weight of the product variant.
widthnumber
The width of the product variant.
Was this section helpful?