Skip to main content
POST
Create or update products

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Send the token in the header Authorization: Bearer <token>.

Scopes

catalog:write

Create and update products, store items, and modifier groups.

Headers

Idempotency-Key
string

A unique key (such as a UUID) that makes retries safe. Keys are kept for 24 hours.

Maximum string length: 255

Body

application/json
products
object[]
required
Maximum array length: 5000

Response

202 - application/json

Job accepted.

id
string
Example:

"job_01JA0A7C0D4E"

type
enum<string>
Available options:
product_upsert,
store_item_batch
status
enum<string>
Available options:
queued,
processing,
succeeded,
partial,
failed
total
integer
processed
integer
failed
integer
errors
object[]
created_at
string<date-time>
completed_at
string<date-time> | null