ProductVariantDTO
A product variant's data.
idstringRequiredThe ID of the product variant.
titlestringRequiredThe tile of the product variant.
inventory_quantitynumberRequiredThe inventory quantiy of the product variant.
The associated product options.
created_atstring | DateRequiredWhen the product variant was created.
updated_atstring | DateRequiredWhen the product variant was updated.
deleted_atstring | DateRequiredWhen the product variant was deleted.
skunull | stringThe SKU of the product variant.
barcodenull | stringThe barcode of the product variant.
eannull | stringThe EAN of the product variant.
upcnull | stringThe UPC of the product variant.
allow_backorderbooleanWhether the product variant can be ordered when it's out of stock.
manage_inventorybooleanWhether the product variant's inventory should be managed by the core system.
hs_codenull | stringThe HS Code of the product variant.
origin_countrynull | stringThe origin country of the product variant.
mid_codenull | stringThe MID Code of the product variant.
materialnull | stringThe material of the product variant.
weightnull | numberThe weight of the product variant.
lengthnull | numberThe length of the product variant.
heightnull | numberThe height of the product variant.
widthnull | numberThe width of the product variant.
metadatanull | Record<string, unknown>Holds custom data in key-value pairs.
The associated product.
product_idnull | stringThe associated product id.
variant_ranknull | numberhe ranking of the variant among other variants associated with the product.
Was this section helpful?