Getting the kitchen availability

To get information about the slots in the kitchen available to prepare an order, you need to hit the following endpoint. This connects to the POS at the location and returns an up-to-date list of available slots. The response is effectively the same data we get from the POS.

// POST /ordering/v3/location/{locationId}/{orderType}/kitchen-slots

The orderType is one of the following:

  • delivery
  • collection

The response contains a list of slots available at the location from the first available slot until the end of the working day:

{
    "kitchenSlots": [
        "2018-10-24T10:10:00+0100",
        "2018-10-24T10:15:00+0100",
        "2018-10-24T10:20:00+0100",
        "2018-10-24T10:25:00+0100",
        "2018-10-24T10:30:00+0100",
        "2018-10-24T10:35:00+0100",
        "2018-10-24T10:40:00+0100"
    ]
}