Booking/getBookings

PMS v1 facade method. Pull every booking revision the property holds that is checkin-relevant and hasn't been acknowledged. The "revisions feed" your PMS polls in a loop to receive new + modified bookings.

Cutover status: legacy answers, port pending.

Request

GET https://api.quendoo.com/api/pms/v1/booking/getBookings
  ?api_key=…
  &type=new              # optional: 'new' | 'modified'
  &booking_id=161345     # optional: force a single booking revision (bypasses ack filter)

Query params

Param Type Required Notes
type new | modified no Restricts the feed. Omitted = both. See below on what "new" vs "modified" mean.
booking_id int no If set, returns that booking's current revision regardless of ack. Handy for re-fetching after a local database wipe.

Errors

Status message When
400 Invalid value for the 'type' parameter! type set and not in new/modified.

How the feed works

Every call returns bookings that satisfy all of:

Two revisioning eras coexist:

Send the exact revision_id you receive back to ackBooking — matched byte-for-byte.

Response

{
  "data": [
    {
      "revision_id": "e5c1…",
      "revision_number": 3,
      "booking_id": 161345,
      "status": "modified",
      "checkin_date": "2027-02-14",
      "checkout_date": "2027-02-18",
      "num_adults": 2,
      "num_children": 0,
      "client": { "first_name": "…", "last_name": "…", "email": "…", "phone": "…" },
      "booking_items": [
        {
          "booking_item_id": 4211,
          "room_id": 4211,
          "rate_id": 985,
          "checkin_date": "2027-02-14",
          "checkout_date": "2027-02-18",
          "num_adults": 2,
          "price": 480.00,
          "currency": "EUR"
        }
      ]
    }
  ]
}

Notes on the shape

Notes