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.
Request body
Section titled “Request body”{ "id": "<shift-id>", "cash": false, "hotbag": false}Examples
Section titled “Examples”curl --request PATCH 'https://api.firstdelivery.com/api/shifts/check_in' \ --header 'Content-Type: application/json' \ --data '{ "id": "<shift-id>", "cash": false, "hotbag": false}'const response = await fetch("https://api.firstdelivery.com/api/shifts/check_in", { "method": "PATCH", "headers": { "Content-Type": "application/json" }, "body": "{\n \"id\": \"<shift-id>\",\n \"cash\": false,\n \"hotbag\": false\n}"})const data = await response.json()import requests
response = requests.request( "PATCH", "https://api.firstdelivery.com/api/shifts/check_in", headers={ 'Content-Type': 'application/json'}, data="{\n \"id\": \"<shift-id>\",\n \"cash\": false,\n \"hotbag\": false\n}",)response.raise_for_status()Saved responses
Section titled “Saved responses”{ "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"}
