Skip to main content

Get Reconciliation

GET 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/tracking/reconciliation

Per-shipment reconciliation grid for a draft inbound plan: shipped vs received per item with the discrepancy delta, discrepancy status, and resolution state. Products are resolved through the plan's items by MSKU — product is null when the MSKU is not (or no longer) on the plan.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Shipment fields: id, name, shipment_confirmation_id, amazon_status, claim_deadline (date|null, shipped_at + 60 days), claim_days_remaining (integer|null, negative once lapsed), items[].

Item fields:

  • id (integer) — shipment item id (use for the resolve/unresolve endpoints)
  • msku / fnsku (string)
  • quantity_shipped / quantity_received (integer)
  • discrepancy (integer) — quantity_received - quantity_shipped (negative = short, positive = over)
  • discrepancy_status (string|null) — PENDING, MATCH, SHORT, OVER, or null when the shipment is not yet RECEIVING/CLOSED
  • discrepancy_resolved_at (datetime|null) / resolution_note (string|null) — the acknowledge-resolution overlay (does not change discrepancy_status)
  • product (object|null) — id, sku, name, image_url

Discrepancy mapping (per item, recomputed on every sync):

  • amazon_status NOT in (RECEIVING, CLOSED) → null (too early to judge)
  • received == shipped → MATCH
  • received > shipped → OVER
  • received < shipped and amazon_status = CLOSEDSHORT (final shortage)
  • received < shipped and amazon_status = RECEIVINGPENDING (still being received)

Authentication: Bearer token (PAT).

Request

Responses

OK

Response Headers
    Content-Type