Get short-let availability
Access: Public, no token needed.
Public calendar data for a short-let property: the stay terms and the date ranges already held by a requested or confirmed booking. Ranges are half-open (the checkIn night is taken, the checkOut date is free, so one guest can leave the day another arrives) and ranges whose checkOut is before today (UTC) are left out. No booking or guest identifiers are exposed. The result is advisory: the authoritative overlap check runs atomically when a booking is made, so dates can still be lost between loading this and booking. Like GET /property/{id}, the lookup only excludes soft-deleted properties and does not check listing status.
id*stringObjectId of the short-let property.
Stay terms and upcoming booked ranges. maxNights and nightlyPrice are null if the property has no short-let terms stored.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/property/string/availability'{ "status": 200, "success": true, "message": "Availability fetched successfully", "data": { "minNights": 2, "maxNights": 30, "nightlyPrice": 85000, "currency": "NGN", "bookedRanges": [ { "checkIn": "2026-12-20T00:00:00.000Z", "checkOut": "2026-12-27T00:00:00.000Z" } ] }}