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 will connect to the POS at the location that will return an update list of available slots.

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

Where orderType could be one of the following:

  • delivery
  • collection

The response will contain a list of slot available at the location from the first available 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"
    ]
}