Skip to navigation

Update prices and stock in bulk

View as Markdown

Up to 500 products in one call - an ERP’s or stock system’s sync. Each item is answered on its own in results: one bad item does not stop the rest, so check every result. Requires products:write.

Authentication

AuthorizationBearer

An API key from the store's admin: חנות > API ומפתחות. Send it as Authorization: Bearer coi_sk_... (or X-Api-Key: coi_sk_...). Never in the URL - ?apikey= is refused with 400.

Request

This endpoint expects an object.
itemslist of objectsRequired

Response

Per-item results. updated counts product rows changed.

okbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error