Get Discrepancy Impact Analysis
GET/api/amazon/unified/discrepancies/:discrepancy/impact-analysis
Compares SKU.io's cost-layer-derived inventory position for the discrepancy's FNSKU product against Amazon's daily inventory ledger summary balances, so you can see whether the discrepancy still affects on-hand inventory.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Returns an impact block for the discrepancy date and, when a more recent summary row exists, a second impact block for the most recent summary date (most_recent_date_impact is null when the discrepancy date is already the latest, or when no summary exists for that date). Each impact block contains: warehouse_qty, in_transit_qty and total_qty (SKU.io side), summary_warehouse_qty, summary_in_transit_qty and summary_total_qty (Amazon ledger summary side), and the calculated warehouse_discrepancy, in_transit_discrepancy and total_discrepancy differences.
Returns 400 when the discrepancy has no linked FNSKU product. Dates are Y-m-d.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
OK
Response Headers
Bad Request
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.