Get Discrepancy Recheck Progress
GET/api/amazon/unified/discrepancies/recheck-progress/:trackedJobLogId
Polls the progress of a queued discrepancy recheck background job. Start the job with POST /api/amazon/unified/discrepancies/recheck-all-async, which returns a tracked_job_log_id to use as the path parameter here.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
The response reports:
- status: pending, processing, completed, failed, or cancelled
- total_items / processed_items and progress_percentage (0-100)
- results: aggregated recheck counters — by_status (resolved, deleted, still_exist, updated, skipped, failed) and by_reason_type (the same counters per discrepancy reason type, e.g. ledger_summary_mismatch)
- messages: the latest progress message emitted by the job
Poll this endpoint until status is completed, failed, or cancelled.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.