ProductDTO
internal.ProductTypes.ProductDTO
A product's data.
Properties
categoriesnull | ProductCategoryDTO[]The associated product categories. It may only be available if the
categories relation is expanded.The associated product collection. It may only be available if the
collection relation is expanded.created_atstring | DateWhen the product was created.
deleted_atstring | DateWhen the product was deleted.
descriptionnull | stringThe description of the product. It can possibly be
null.discountablebooleanWhether the product can be discounted.
external_idnull | stringThe ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain a reference to the ID in the integrated service.
handlenull | stringThe handle of the product. The handle can be used to create slug URL paths. It can possibly be
null.heightnull | numberThe height of the product. It can possibly be
null.hs_codenull | stringThe HS Code of the product. It can possibly be
null.idstringRequiredThe ID of the product.
The associated product images. It may only be available if the
images relation is expanded.is_giftcardbooleanRequiredWhether the product is a gift card.
lengthnull | numberThe length of the product. It can possibly be
null.materialnull | stringThe material of the product. It can possibly be
null.metadataRecord<string, unknown>mid_codenull | stringThe MID Code of the product. 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. It can possibly be
null.The status of the product. Its value can be one of the values of the enum ProductStatus.
subtitlenull | stringThe subttle of the product. It can possibly be
null.The associated product tags. It may only be available if the
tags relation is expanded.thumbnailnull | stringThe URL of the product's thumbnail. It can possibly be
null.titlestringRequiredThe title of the product.
The associated product type. It may only be available if the
type relation is expanded.updated_atstring | DateWhen the product was updated.
The associated product variants. It may only be available if the
variants relation is expanded.weightnull | numberThe weight of the product. It can possibly be
null.widthnull | numberWas this section helpful?