- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
CreateProductDTO
A product to create.
title
stringThe title of the product.
id
stringOptionalOptionally pass an ID when creating a product.
subtitle
stringOptionalThe subttle of the product.
description
stringOptionalThe description of the product.
is_giftcard
booleanOptionalWhether the product is a gift card.
discountable
booleanOptionalWhether the product can be discounted.
thumbnail
stringOptionalThe URL of the product's thumbnail.
handle
stringOptionalThe handle of the product. The handle can be used to create slug URL paths.
If not supplied, the value of the
handle
attribute of the product is set to the slug version of the title
attribute.The status of the product.
The associated images to created or updated.
external_id
stringOptionalThe id of the product in an external system
type_id
stringOptionalThe product type id to associate with the product.
collection_id
stringOptionalThe product collection to associate with the product.
tag_ids
string[]OptionalThe tags to be associated with the product.
category_ids
string[]OptionalThe product categories to associate with the product.
The product options to be created and associated with the product.
The product variants to be created and associated with the product.
width
numberOptionalThe width of the product.
height
numberOptionalThe height of the product.
length
numberOptionalThe length of the product.
weight
numberOptionalThe weight of the product.
origin_country
stringOptionalThe origin country of the product.
hs_code
stringOptionalThe HS Code of the product.
material
stringOptionalThe material of the product.
mid_code
stringOptionalThe MID Code of the product.
Holds custom data in key-value pairs.
Was this page helpful?