Logo PopinaPopina API

Get booking list

Allows the POS to get the bookings of a location for a specific date.

GET/v1/bookings/
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Query Parameters

datestring
Formatdate-time
locationId?string
Formatuuid

Response Body

application/json

curl -X GET "http://localhost:4008/v1/bookings/?date=2019-08-24T14%3A15%3A22Z"
[
  {
    "id": "b1304537-a651-40e4-8a7a-0c8a567cb60f",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@email.com",
    "status": "CONFIRMED",
    "source": "POS",
    "guestCount": 2,
    "phone": null,
    "comment": null,
    "bookedAt": "2025-01-01T19:00:00Z",
    "tables": [
      {
        "id": "5e7395d2-dcbd-4f7e-a419-98a4be1d3fe2",
        "name": "Table 1",
        "seatCount": 4,
        "roomId": "ae17c046-dff6-418e-a6e6-85ff1837d9ed"
      }
    ],
    "policyStatus": "COMPLIANT",
    "policyViolationList": []
  },
  {
    "id": "2f3fbb05-5bec-4fdc-b1a4-8757b9a5811d",
    "firstName": "Julia",
    "lastName": "Smith",
    "email": "julia.smith@email.com",
    "status": "PENDING",
    "source": "POS",
    "guestCount": 2,
    "phone": null,
    "comment": null,
    "bookedAt": "2025-03-04T12:30:00Z",
    "tables": [
      {
        "id": "5e7395d2-dcbd-4f7e-a419-98a4be1d3fe2",
        "name": "Table 1",
        "seatCount": 4,
        "roomId": "ae17c046-dff6-418e-a6e6-85ff1837d9ed"
      },
      {
        "id": "9107f71c-3c69-42e6-9ba8-5c2e43df2260",
        "name": "Table 2",
        "seatCount": 2,
        "roomId": "ae17c046-dff6-418e-a6e6-85ff1837d9ed"
      }
    ],
    "policyStatus": "COMPLIANT",
    "policyViolationList": []
  }
]