Skip to main content
Skip to main content

AdminPostProductsProductVariantsVariantReq

Properties

titlestring
The title of the product variant.
skustring
The unique SKU of the product variant.
eanstring
The EAN number of the item.
upcstring
The UPC number of the item.
barcodestring
A generic GTIN field 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.
allow_backorderboolean
Whether the product variant can be purchased when out of stock.
manage_inventoryboolean
Whether Medusa should keep track of the inventory of this 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.
origin_countrystring
The country of origin of the product variant.
mid_codestring
The Manufacturer Identification code of the product variant.
materialstring
The material composition of the product variant.
metadataRecord<string, unknown>
An optional set of key-value pairs with additional information.
An array of product variant prices. A product variant can have different prices for each region or currency code.
An array of Product Option values that the variant corresponds to.

Default: []

Was this section helpful?