Skip to main content
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /catalog-import/reject Description: Marks the pending, metadata-engine-sourced staged items matching batchId and/or itemIds (scoped to the caller’s tenant) as rejected, stamping reviewedBy/reviewedAt. Rejected rows are never applied. Rejecting is not permanent for the underlying identifier — a later import that proposes the same ISRC/UPC re-stages it as a fresh row rather than being deduplicated away. Authorization:
  • Required role: admin or higher
Method: POST

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

One of batchId or a non-empty itemIds array is required. Only rows with status pending and belonging to the caller's tenant are affected.

batchId
string
Example:

"metadata-import-8f14e45f-ceea-4d5e-8b3a-0a1b2c3d4e5f"

itemIds
string<uuid>[]

Response

Items rejected

status
string
Example:

"success"

message
string
Example:

"Rejected 3 item(s)"

data
object