Skip to main content
POST
Upsert Products

Authorizations

X-API-Key
string
header
required

Body

application/json

Upsert products request model.

data
CreateProductRequest · object[]
required

List of products to create or update, up to 1000 products and 5 MB per request. Each product takes the same fields as Create a product, and name is always required. For an existing product, omitted fields keep their current value; send null to clear description or source_category, and [] to clear tax_codes. source_updated_at can't be null: omit it to keep the current value. If the same product appears more than once, every copy fails.

Maximum array length: 1000

Response

Successful Response

Upsert products response model.

summary
BatchSummary · object
required

Number of items with each result.

data
BatchProductResult · object[]
required

Results in the same order as the request.

object
string
default:batch

Always batch.