Skip to main content
PUT
Upsert 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
Example:

"Classic Brown Dress Shoes"

external_id
string
required

The identifier used by an external source to identify the product.

Maximum string length: 100
Example:

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

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
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.

Example:

440

barcode
string | null

The barcode of the product.

Maximum string length: 255
Example:

712345000019

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 | null

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

Example:

10000

created_at
string<date-time> | null

The date and time at which the product was created.

Example:

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

updated_at
string<date-time> | null

The date and time at which the product was updated. The value must be equal to 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 added to the product.

Required string length: 1 - 255
source
string | null

The ecommerce platform from which the product is available.

Maximum string length: 255
Example:

"Shopify"

is_gift_card
boolean | null

Whether the product is a gift card.

Example:

false

Response

OK

product
ProductResponse · object