Core resources
Administration
Booking flow
Find the availability of multiple units for a given date range. Filter by occupancy and attribute options.
interval
{ start: string, end: string }
The interval to search for availability in. If not provided, search will check each unit for a match with the other parameters.
occupancy
Record<capacity_group_id, integer>
Filter search results by allowed occupancy.
option_ids
Array<uuid>
Filter search results by attribute_options.
show_pending_as
"CANCELLED" | "TENTATIVE" | "CONFIRMED"
How to interpret pending events. Defaults to TENTATIVE
200
List with search results:
Array<{ productId: uuid; match: boolean; occupancyMatches: boolean; optionsMatch: boolean; availability: "available" | "tentative" | "unavailable" | "booked" | "reserved"; price: { min: number, max: number } | null; }>
POST
/search
curl -X POST "https://api.bookingmood.com/v1/search" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'
[{]"productId": "00000000-0000-0000-0000-000000000000","match": false,"occupancyMatches": true,"optionsMatch": true,"availability": "unavailable","price": {}"min": 100,"max": 200}