GET
/
v1
/
shifts
curl --request GET \
  --url https://api.sandbox.usenash.com/v1/shifts
{
  "id": "<string>",
  "name": "<string>",
  "plannedStart": "<string>",
  "plannedEnd": "<string>",
  "plannedBreakDuration": 123,
  "shiftMetadata": {},
  "status": "<string>",
  "storeLocationId": "<string>",
  "externalStoreLocationId": "<string>",
  "zoneIds": [
    "<string>"
  ],
  "externalZoneIds": [
    "<string>"
  ],
  "courierId": "<string>",
  "vehicleId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Query Parameters

startTime
string
required

The start time of the shifts to list.

Example:

"2025-05-01T00:00:00Z"

endTime
string
required

The end time of the shifts to list.

Example:

"2025-06-01T00:00:00Z"

storeLocationId
string | null

The store location ID to list shifts for.

externalStoreLocationId
string | null

The external store location ID to list shifts for.

Response

200
application/json

OK

Response for shift.