ProductDTO
A product's data.
idstringRequiredThe ID of the product.
titlestringRequiredThe title of the product.
is_giftcardbooleanRequiredWhether the product is a gift card.
The status of the product.
The associated product tags.
The associated product variants.
The associated product options.
The associated product images.
handlenull | stringThe handle of the product. The handle can be used to create slug URL paths.
subtitlenull | stringThe subttle of the product.
descriptionnull | stringThe description of the product.
thumbnailnull | stringThe URL of the product's thumbnail.
widthnull | numberThe width of the product.
weightnull | numberThe weight of the product.
lengthnull | numberThe length of the product.
heightnull | numberThe height of the product.
origin_countrynull | stringThe origin country of the product.
hs_codenull | stringThe HS Code of the product.
mid_codenull | stringThe MID Code of the product.
materialnull | stringThe material of the product.
The associated product collection.
collection_idnull | stringThe associated product collection id.
The associated product categories.
The associated product type.
type_idnull | stringThe associated product type id.
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.
created_atstring | DateWhen the product was created.
updated_atstring | DateWhen the product was updated.
deleted_atstring | DateWhen the product was deleted.
metadataRecord<string, unknown>Holds custom data in key-value pairs.
Was this section helpful?