Skip to main content

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.

Authorization

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

OK

Response Headers
    Content-Type