v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Bookings

Get a booking

Get information about a specific booking, including the customer, status, booking items, and any additional data.

get/bookings/{booking_id}

Path parameters

booking_idstring required

The unique ID of the booking.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Response

OK

Example response

{
  "data": {
    "booking_id": "83d0ce2b5a1bc0dc8da01b13e7",
    "customer_id": "85bc5819e09dab95437552ce79",
    "booking_items": [
      {
        "booking_item_id": "8fd73167342d0689c4c015320",
        "customer_id": "8ea6abece4cd0a4ded0a29f093",
        "time_slot_id": "88bb88399cc74d81edbe19d684",
        "booking_ticket": {
          "ticket_id": "89d88719b8b442de2d11b401a2",
          "name": "Prophecy",
          "created_at": "2022-07-26 11:38:22",
          "state": 1,
          "last_change": "2022-09-16 16:14:41"
        },
        "valid_from": "2022-01-09 22:00:00",
        "valid_to": "2022-01-09 22:30:00",
        "capacity_taken": 2,
        "booking_item_status": "86e05affc7a7abefcd513ab400",
        "additional_properties": [
          {
            "property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
            "property_id": "docasna_blokace_darce_do",
            "property_name": "Property #6",
            "last_change": "2023-02-02 00:00:00"
          }
        ],
        "created_at": "2017-06-20 16:59:49",
        "state": 1,
        "last_change": "2013-07-24 21:33:33"
      }
    ],
    "booking_status": "81eaeea13b8984a169c490a325",
    "utm": {
      "utm_source": "google",
      "utm_medium": "cpc",
      "utm_campaign": "spring_sale"
    },
    "created_at": "2022-08-11 11:15:33",
    "last_change": "2022-08-11 11:15:33",
    "state": 1
  }
}