Skip to content

Check in to shift

PATCH {{baseUrl}}/shifts/check_in

Checks the driver in to a claimed shift, recording whether they have a cash bag / hot bag. Source: models/shifts.ts update() (called via the check-in flow).

Response: 200 with the updated Shift row — checked_in now set to the check-in timestamp, plus the cash/hotbag flags you sent.

{
"id": "<shift-id>",
"cash": false,
"hotbag": false
}
Terminal window
curl --request PATCH 'https://api.firstdelivery.com/api/shifts/check_in' \
--header 'Content-Type: application/json' \
--data '{
"id": "<shift-id>",
"cash": false,
"hotbag": false
}'
{
"id": "<shift-id>",
"user_id": "8e17d5db-da6e-453c-966f-bfc72c125094",
"checked_in": "2026-06-22T16:02:00.000Z",
"cash": false,
"hotbag": false,
"start": "2026-06-22T16:00:00.000Z",
"stop": "2026-06-22T20:00:00.000Z"
}