ProductDTO
internal.ProductTypes.ProductDTO
A product's data.
Properties
categories
null | 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_at
string | DateWhen the product was created.
deleted_at
string | DateWhen the product was deleted.
description
null | stringThe description of the product. It can possibly be
null
.discountable
booleanWhether the product can be discounted.
external_id
null | 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.
handle
null | stringThe handle of the product. The handle can be used to create slug URL paths. It can possibly be
null
.height
null | numberThe height of the product. It can possibly be
null
.hs_code
null | stringThe HS Code of the product. It can possibly be
null
.id
stringRequiredThe ID of the product.
The associated product images. It may only be available if the
images
relation is expanded.is_giftcard
booleanRequiredWhether the product is a gift card.
length
null | numberThe length of the product. It can possibly be
null
.material
null | stringThe material of the product. It can possibly be
null
.metadata
Record<string, unknown>mid_code
null | 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_country
null | 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.
subtitle
null | 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.thumbnail
null | stringThe URL of the product's thumbnail. It can possibly be
null
.title
stringRequiredThe title of the product.
The associated product type. It may only be available if the
type
relation is expanded.updated_at
string | DateWhen the product was updated.
The associated product variants. It may only be available if the
variants
relation is expanded.weight
null | numberThe weight of the product. It can possibly be
null
.width
null | numberWas this section helpful?