Logo PopinaPopina API

Get single booking

Allows the POS to fetch a particular booking by providing its id in the params and its location id in the body.

GET/v1/bookings/{id}
authorization<token>

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

In: header

Path Parameters

idstring

Response Body

application/json

curl -X GET "http://localhost:4008/v1/bookings/string"
{
  "id": "b1304537-a651-40e4-8a7a-0c8a567cb60f",
  "locationId": "2d35fc66-230a-429b-99bc-2a0b54ee65c1",
  "firstName": "John",
  "lastName": "Doe",
  "email": "john.doe@email.com",
  "status": "CONFIRMED",
  "source": "POS",
  "guestCount": 2,
  "bookedAt": "2025-01-01T19:00:00Z",
  "phone": null,
  "comment": null,
  "tables": [
    {
      "id": "5e7395d2-dcbd-4f7e-a419-98a4be1d3fe2",
      "name": "Table 1",
      "seatCount": 4,
      "roomId": "ae17c046-dff6-418e-a6e6-85ff1837d9ed"
    }
  ],
  "policyStatus": "COMPLIANT",
  "policyViolationList": []
}