Skip to content

Repair / resync run

PATCH {{baseUrl}}/runners/repair/{{userId}}

Rebuilds the driver’s run/stop ordering from their current in-progress orders. Source: models/runs.ts resync().

Response: 200. The handler returns an internal run-audit-log entry whose exact shape wasn’t fully traced — and it doesn’t matter, because the app itself ignores the response body. Source: store.ts calls this then immediately calls loadOrders()/loadCurrentRun() separately rather than reading anything off this response.

Terminal window
curl --request PATCH 'https://api.firstdelivery.com/api/runners/repair/REPLACE_WITH_USER_ID'