ProductVariantDTO
A product variant's data.
id
stringRequiredThe ID of the product variant.
title
stringRequiredThe tile of the product variant.
inventory_quantity
numberRequiredThe inventory quantiy of the product variant.
The associated product options.
The associated product.
product_id
stringRequiredThe ID of the associated product.
created_at
string | DateRequiredWhen the product variant was created.
updated_at
string | DateRequiredWhen the product variant was updated.
deleted_at
string | DateRequiredWhen the product variant was deleted.
sku
null | stringThe SKU of the product variant.
barcode
null | stringThe barcode of the product variant.
ean
null | stringThe EAN of the product variant.
upc
null | stringThe UPC of the product variant.
allow_backorder
booleanWhether the product variant can be ordered when it's out of stock.
manage_inventory
booleanWhether the product variant's inventory should be managed by the core system.
hs_code
null | stringThe HS Code of the product variant.
origin_country
null | stringThe origin country of the product variant.
mid_code
null | stringThe MID Code of the product variant.
material
null | stringThe material of the product variant.
weight
null | numberThe weight of the product variant.
length
null | numberThe length of the product variant.
height
null | numberThe height of the product variant.
width
null | numberThe width of the product variant.
metadata
null | Record<string, unknown>Holds custom data in key-value pairs.
variant_rank
null | numberhe ranking of the variant among other variants associated with the product.
Was this section helpful?