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