Catalog Import
Apply staged items to the catalog
POST /catalog-import/apply
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /catalog-import/apply Description: The ONLY tenant-catalog write path in the importer. Resolves the set ofpending, metadata-engine-sourced staged items matching
batchId and/or itemIds (scoped to the caller’s tenant), then
creates/updates the corresponding Asset/Product rows one item at
a time, each in its own transaction. Every successfully processed
item is marked imported (or failed, with importError set) and
stamped with reviewedBy/reviewedAt.
Idempotency: unique indexes on the tenant’s ISRC/UPC roster plus
the fact that only status: pending rows are ever touched mean
re-calling apply for an already-applied batch is a safe no-op
(imported: 0, failed: 0) rather than creating duplicates.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json