Core — Metadata catalog
Core · winner
POST https://backend-dev.bookdirect.live/public/api/v1/nellalink/meta-data/entity/{entity_type}/{entity_uuid}
PUT https://backend-dev.bookdirect.live/public/api/v1/nellalink/meta-data/entity/{entity_type}/{entity_uuid}
PUT https://backend-dev.bookdirect.live/public/api/v1/nellalink/meta-data/entity/verify/{entity_type}/{entity_uuid}
Example:
POST https://backend-dev.bookdirect.live/public/api/v1/nellalink/meta-data/entity/property/{property_uuid}
Body: one object or an array. Each item: meta_key, meta_value, optional data_type, optional extra_data.
Property keys
| meta_key | Example | data_type |
|---|---|---|
property_category | hotel | shortlet | apartment | string |
address | street address | string |
city | Lagos | string |
state | Lagos | string |
country | Nigeria | string |
latitude | 6.4281 | string |
longitude | 3.4219 | string |
check_in_time | 14:00 | string |
check_out_time | 11:00 | string |
min_rate_ngn | 30000 | string |
google_place_id | Places id | string |
Amenities (tick boxes)
Hard-code this list in the owner dashboard. On save, POST one metadata row per tick.
| Display label | API slug | meta_key |
|---|---|---|
| Hotel | hotel | amenity_hotel |
| Swimming Pool | swimming_pool | amenity_swimming_pool |
| Fitness Center / Gym | fitness_center_gym | amenity_fitness_center_gym |
| Free Parking | free_parking | amenity_free_parking |
| Restaurant | restaurant | amenity_restaurant |
| Bar / Lounge | bar_lounge | amenity_bar_lounge |
| Airport Shuttle | airport_shuttle | amenity_airport_shuttle |
| Business Center | business_center | amenity_business_center |
| Spa & Wellness | spa_wellness | amenity_spa_wellness |
| Conference Rooms | conference_rooms | amenity_conference_rooms |
| Concierge | concierge | amenity_concierge |
| Laundry Service | laundry_service | amenity_laundry_service |
| Rooftop Terrace | rooftop_terrace | amenity_rooftop_terrace |
| Free Breakfast | free_breakfast | amenity_free_breakfast |
| Room Service (24hr) | room_service_24hr | amenity_room_service_24hr |
| Kids' Club | kids_club | amenity_kids_club |
| Luggage Storage | luggage_storage | amenity_luggage_storage |
| 24hr Front Desk | 24hr_front_desk | amenity_24hr_front_desk |
| Gift Shop | gift_shop | amenity_gift_shop |
| Wheelchair Accessible | wheelchair_accessible | amenity_wheelchair_accessible |
| CCTV | cctv | amenity_cctv |
| Elevator / Lift | elevator_lift | amenity_elevator_lift |
| Security | security | amenity_security |
Load on edit: pre-tick keys that start with amenity_ and equal "true".
Email / payment event keys (optional)
Middleware may write on the booking after a processor runs:
| meta_key | Who writes |
|---|---|
email_event_guest_confirmed | Middleware emails |
email_event_owner_new_booking | Middleware emails |
payment_reference | Middleware payments |
refund_reference | Middleware refunds |
Frontend does not invent these; it only displays them.