Skip to main content
Skip to main content

AdminPostProductsProductReq

The details to update of the product.

Properties

titlestring
The title of the Product
subtitlestring
The subtitle of the Product
descriptionstring
The description of the Product.
discountableboolean
A flag to indicate if discounts can be applied to the Line Items generated from this Product
imagesstring[]
An array of images of the Product. Each value in the array is a URL to the image. You can use the upload API Routes to upload the image and obtain a URL.
thumbnailstring
The thumbnail to use for the Product. The value is a URL to the thumbnail. You can use the upload API Routes to upload the thumbnail and obtain a URL.
handlestring
A unique handle to identify the Product by. If not provided, the kebab-case version of the product title will be used. This can be used as a slug in URLs.
The status of the product. The product is shown to the customer only if its status is published.
The Product Type to associate the Product with.
collection_idstring
The ID of the Product Collection the Product belongs to.
Product Tags to associate the Product with.
sales_channelsnull | ProductSalesChannelReq[]
Sales channels to associate the Product with.
Product categories to add the Product to.
An array of Product Variants to create with the Product. Each product variant must have a unique combination of Product Option values.
weightnumber
The weight of the Product.
lengthnumber
The length of the Product.
heightnumber
The height of the Product.
widthnumber
The width of the Product.
hs_codestring
The Harmonized System code of the product variant.
origin_countrystring
The country of origin of the Product.
mid_codestring
The Manufacturer Identification code of the Product.
materialstring
The material composition of the Product.
metadataRecord<string, unknown>
An optional set of key-value pairs with additional information.
Was this section helpful?