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

Description

/checklist/enrichment/approve Approves enrichment items and executes the create/update operations on the catalog. For action: create items, new assets or products are created using the field resolution priority chain: finalData > enriched fields > raw fields > defaults. For action: update items, only empty fields on the existing record are filled with enriched values, unless the admin has explicitly set overrides in finalData. Items can be selected by explicit itemIds or by batchId (optionally filtered by type). 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
itemIds
string<uuid>[]

Specific item IDs to approve

batchId
string

Approve all pending items in this batch (used when itemIds not provided)

type
enum<string>

Optional type filter when using batchId

Available options:
asset,
product

Response

Items approved and imported

status
string
Example:

"success"

message
string
Example:

"Imported 10, failed 0"

data
object