Sync products

View as MarkdownOpen in Claude

Full-replace product sync. Receives a list of products from a POS adapter and performs a full replace: creates new products, updates existing ones (matched by itemCode), and soft-deletes products not in the payload.

Supports single items with modifier groups, bundles with sections, per-store price overrides, and variant items.

Authentication

X-Api-Keystring
API Key authentication via header

Headers

X-Tenant-IDstringOptional
Tenant identifier
X-ProviderstringOptional
POS provider identifier. Defaults to "cata" if omitted.

Request

This endpoint expects an object.
productslist of objectsRequired

Response

OK
summaryobject
productslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error