Skip to main content
POST
Create Product

Authorizations

X-Authorization
string
header
required

API Scope: "Product (write)"

Body

application/json
name
string
required

The name of the product.

Maximum string length: 255
sales_channel
string
required

If a channel with this name is not already associated with the shop, it will be used to create a new channel.

Maximum string length: 255
source
string | null

The ecommerce platform from which the product is available.

Maximum string length: 255
Example:

"Shopify"

external_id
string | null

The provided external_id must be unique. If a non-unique external_id is provided, the API will respond with an error.

Maximum string length: 100
Example:

"564400c7-7a6b-4f29-b6a5-7bb580b2992c"

sku
string | null

The SKU of the product.

Maximum string length: 255
Example:

"SHOES-US44-M-Brwn"

weight_grams
integer | null

The weight of the product in grams.

barcode
string | null

The barcode of the product.

Maximum string length: 255
description
string | null

The description of the product.

Maximum string length: 65000
type
string | null

The "type" of the product. This is a single value used to classify and group similar products.

Maximum string length: 255
Example:

"shoes"

vendor
string | null

The manufacturer or seller of the product.

Maximum string length: 255
Example:

"Internal"

price
object

The price of the product in minor units, such as cents, with its corresponding currency.

Examples:
created_at
string<date-time> | null

The date and time at which the product was created.

Example:

"2023-04-25T18:25:00.000Z"

updated_at
string<date-time> | null

The date and time at which the product was updated. The value must be equal or greater than created_at.

Example:

"2023-04-25T13:45:00-05:00"

options
ProductOption · object[] | null

An array of optional features or characteristics of the product that can be selected by the customer.

images
string<uri>[] | null

An array of URLs which reference images of the product.

Minimum string length: 1
tags
string[] | null

An array of tags used to classify and group products.

Required string length: 1 - 255
is_gift_card
boolean | null

Whether the product is a gift card.

Example:

false

Response

OK

product
ProductResponse · object