Skip to main content

Re-track Shipment Tracking

POST 

/api/shipment-trackings/:tracking/retrack

Re-activate tracking for an expired or stopped number via 17TRACK's /retrack endpoint. 17TRACK auto-stops tracking ~30 idle days after the last event; this asks it to resume pushing updates.

Authorization

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

Only accepted for numbers 17TRACK has stopped following — an actively-tracked number is rejected. Each number can be re-tracked ONCE (17TRACK limit -18019905).

On success the local row's stopped_at is cleared, delivery_status resets to pending (re-entering the polling set), and the row is immediately re-hydrated via /gettrackinfo.

Responses:

  • 200 OK — re-hydrated detail payload (same shape as GET /shipment-trackings/{id})
  • 422 Unprocessable Entity with code: retrack_failed — 17TRACK rejected the retrack (number still active, retrack already used once, connector failure)
  • 404 Not Found — tracking ID does not exist

Request

Responses

OK

Response Headers
    Content-Type