Skip to content

How to build: Direct Booking ​

Property-branded guest flow (no full marketplace chrome).

implemented UI: app/(direct)/book/[directSlug], app/(direct)/menu/[directSlug].

Same winners as Marketplace search + checkout. The slug is the property (or menu) identifier.

Property-Branded Booking Page / Property Menu ​

Load property:

GET https://middleware-dev.bookdirect.live/api/v1/nellalink/properties/{id}

Menu page is content/branding for that property — not a second booking API.

Direct Room Selection / Direct Rate Plan Selection ​

GET https://middleware-dev.bookdirect.live/api/v1/nellalink/rates-packages/property/{propertyId}

POST https://middleware-dev.bookdirect.live/api/v1/bookdirect/availability/check

Direct Checkout / Direct Booking Confirmation ​

Same as Booking:

POST https://middleware-dev.bookdirect.live/api/v1/nellalink/bookings

POST https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/initialize

API-first. Middleware Backend wins over Core Backend when both exist.