How to build: Reservations and Inventory
implemented /extranet/reservations, /extranet/properties/[id]/reservations.
Middleware Backend · winner · live
GET https://middleware-dev.bookdirect.live/api/v1/nellalink/reservations/property/{propertyId}
GET https://middleware-dev.bookdirect.live/api/v1/nellalink/reservations/{id}
PATCH https://middleware-dev.bookdirect.live/api/v1/nellalink/reservations/{id}/status
Query status: pending | confirmed | checked_in | checked_out | cancelled.
json
{ "status": "confirmed" }Allowed transitions: confirmed, checked_in, checked_out, cancelled. JWT must own the property (or Core role).
| Screen | How to build |
|---|---|
| Inventory Calendar / Availability Results | Availability POST .../availability/check |
| Blackout Dates / Minimum Stay Rules | to implement — recommend on Middleware, do not only filter in the UI |
| Reservations / Reservation Details | GET list + GET by id |
| Create Manual Booking | POST .../nellalink/bookings (see Dashboard) |
| Modify Reservation | guest PUT .../bookings/{id} while pending; host uses status patch |
| Cancel Reservation | PATCH { "status": "cancelled" } — refunds folder still missing for captured money |
| Pending Bookings | ?status=pending |
| Booking Enquiries / Booking Reports | to implement |