Skip to main content
Skip to main content

ProductVariantDTO

A product variant's data.

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