Skip to content
innovorder
⌘K

Point of sale

POS Workslots (Shifts/Periods)

System map · Service period
Staff
Workslot
POS orders

POS workslots (also called shifts or periods) represent operating time windows for a restaurant's POS devices. Each workslot records when a device opened and closed its sales period. Use these endpoints to query the status of workslots for a given date.

Workslot Statuses

  • OPENEDThe POS device has an active sales period
  • CLOSEDThe POS device has completed its sales period

GET/v1/restaurants/{restaurantId}/pos_shifts/{date}Get POS workslot status for a date

Retrieve the status of all POS workslots for a restaurant on a specific date. Returns information about each POS device's shift including open/close times and current status.

Parameters

NameTypeRequiredDescription
restaurantIdintegerYesThe unique identifier of the restaurant.
datestring (YYYY-MM-DD)YesThe date to query workslot status for.

Response

json
{
  "status": 200,
  "code": "pos_shift_succeeded",
  "message": "Pos shifts state closure found",
  "data": [
    {
      "posDeviceId": 501,
      "deviceId": "POS-001",
      "status": "CLOSED",
      "periodFrom": "2025-07-16T06:00:00.000Z",
      "periodTo": "2025-07-16T22:30:00.000Z",
      "periodEndCloseId": "close-abc-123"
    },
    {
      "posDeviceId": 502,
      "deviceId": "POS-002",
      "status": "OPENED",
      "periodFrom": "2025-07-16T06:00:00.000Z",
      "periodTo": null,
      "periodEndCloseId": null
    }
  ]
}
Response Properties

Every field in the example is listed below. Explicit requiredness is shown when the endpoint contract defines it.

PropertyTypeExampleDescription
statusinteger200HTTP status code returned by the API.
codestring"pos_shift_succeeded"Machine-readable application code for the result.
messagestring"Pos shifts state closure found"Human-readable result message. Do not use this value for program logic.
dataarray[…]Endpoint-specific response payload.
data[]object{…}Endpoint-specific response payload.
data[].posDeviceIdinteger501Identifier of the associated pos device.
data[].deviceIdstring"POS-001"Identifier of the associated device.
data[].statusstring"CLOSED"HTTP status code returned by the API.
data[].periodFromstring"2025-07-16T06:00:00.000Z"The period from value.
data[].periodTostring"2025-07-16T22:30:00.000Z"The period to value.
data[].periodEndCloseIdstring"close-abc-123"Identifier of the associated period end close.