Skip to main content
PATCH
Bulk update products

Authorizations

X-App-Id
string
header
required

App ID for authentication

X-Api-Key
string
header
required

API Key for authentication

Body

application/json
ids
integer[]
required

Array of product IDs to update

archived
boolean
required

Set to true to archive, false to unarchive

Response

Products updated successfully

updated
integer

Number of products updated.

For a mappings request this counts the mappings that were applied. An entry naming a product that is not yours, or one that has been merged away, is skipped rather than failing the batch, so this can be lower than the number of mappings you sent. Re-read the products rather than inferring which entries landed.