Skip to main content
Skip to main content

ProductVariantDTO

A product variant's data.

allow_backorderboolean
Whether the product variant can be ordered when it's out of stock.
barcodenull | string
The barcode of the product variant.
created_atstring | DateRequired
When the product variant was created.
deleted_atstring | DateRequired
When the product variant was deleted.
eannull | string
The EAN of the product variant.
heightnull | number
The height of the product variant.
hs_codenull | string
The HS Code of the product variant.
idstringRequired
The ID of the product variant.
inventory_quantitynumberRequired
The inventory quantiy of the product variant.
lengthnull | number
The length of the product variant.
manage_inventoryboolean
Whether the product variant's inventory should be managed by the core system.
materialnull | string
The material of the product variant.
metadatanull | Record<string, unknown>
Holds custom data in key-value pairs.
mid_codenull | string
The MID Code of the product variant.
optionsProductOptionValueDTO[]Required
The associated product options.
origin_countrynull | string
The origin country of the product variant.
productProductDTORequired
The associated product.
product_idstringRequired
The ID of the associated product.
skunull | string
The SKU of the product variant.
titlestringRequired
The tile of the product variant.
upcnull | string
The UPC of the product variant.
updated_atstring | DateRequired
When the product variant was updated.
variant_ranknull | number
he ranking of the variant among other variants associated with the product.
weightnull | number
The weight of the product variant.
widthnull | number
The width of the product variant.
Was this section helpful?