PMS Bookings
Booking listing and calendar APIs.
๐๏ธ Get available units for a property
Returns all units for the given property, each flagged with `isAvailable` indicating whether it is free for the requested checkinโcheckout window.
๐๏ธ Get booking action history
Returns the full audit trail of actions performed on the booking, ordered chronologically.
๐๏ธ Get booking review
Get booking review
๐๏ธ Add or update booking review
Add or update booking review
๐๏ธ Get full booking detail by ID
Get full booking detail by ID
๐๏ธ Create a booking
Creates a new PMS booking with guest details, properties, units, adjustments, and payment info. Returns the generated booking ID on success.
๐๏ธ Booking calendar
Returns a paginated calendar view grouped by property group โ property โ unit โ bookings for the given date window. Units with no overlapping booking still appear with a null booking entry.
๐๏ธ Search bookings with filters
Returns a paginated list of bookings. All filter fields are optional. Pass `UNSYNC` in `bookingSyncStatus` or `invoiceSyncStatus` to include rows where that column is NULL.
๐๏ธ Sync booking property units
Updates the final stay total, final meal cost, and commission amount for the specified units
๐๏ธ Update a booking
Updates guest details, dates, properties, units, adjustments, and payment info for an existing booking.
๐๏ธ Cancel booking
Cancels a booking with the specified ID
๐๏ธ Update booking sync status
Sets the booking sync status to `SYNC` or `UNSYNC`. Returns the updated status.
๐๏ธ Delete a property from a booking
Removes the specified property from the booking and recalculates booking totals.
๐๏ธ Delete a unit from a booking property
Removes the specified unit from a booking property and recalculates booking totals.