Skip to main content
GET
Get a read-only diff of a staged batch against the current catalog
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /catalog-import/batch//diff Description: Recomputes the diff between this batch’s pending staged rows and the tenant’s CURRENT Asset/Product catalog (performs SELECTs only — never writes). Useful for re-checking a batch just before applying, since the underlying catalog may have changed since the original fetch. Each diff entry carries the staged item’s itemId, so it can be addressed directly via PUT /items/{id}. Authorization:
  • Required role: admin or higher
Method: GET

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

batchId
string
required

Response

Diff computed

status
string
Example:

"success"

data
object