How to build: Property Management
implemented /extranet/properties, /extranet/properties/[id], setup steps (property, policy, payment, faqs, contacts).
Middleware Backend · winner · live
POST https://middleware-dev.bookdirect.live/api/v1/nellalink/properties
GET https://middleware-dev.bookdirect.live/api/v1/nellalink/properties/mine
GET https://middleware-dev.bookdirect.live/api/v1/nellalink/properties/{id}
PUT https://middleware-dev.bookdirect.live/api/v1/nellalink/properties/{id}
DELETE https://middleware-dev.bookdirect.live/api/v1/nellalink/properties/{id}
| Screen | How to build |
|---|---|
| Create Property | POST body from Onboarding |
| Edit Property / Property Profile | PUT name, address, amenities, images, status |
| Delete Property | DELETE — JWT must own the row (or Core role) |
| Property Photos | File manager then PUT images |
| Property Amenities | amenities slug array on PUT — local tick list. Hard-code ticks; do not load the list from an API |
| Property Contacts / FAQs / Policies | extra_data on Core via Middleware update — if a field is missing on the DTO, recommend adding it on Middleware, do not invent a second table |
| Payment Settings | Payments and Distribution |
| Property Status / Publish | PUT { "status": "active" } (draft | active | inactive) |