Service Availability to Reservation
A 3-step recipe with Mews. We can help you get access.
Recipe · 3 steps
Service Availability to Reservation
with Mews · Reservation & Booking Management
Check service availability and book a reservation when space is open.
- Resolve the bookable service so availability can be queried against it.
- Read per-category availability across the requested time units to decide whether the stay can be booked.
- Create the reservation now that the service reported availability for the requested window.
What you'll need to have ready
- clientToken: The Mews ClientToken identifying the integration.
- accessToken: The Mews AccessToken identifying the enterprise.
- client: The client application name and version.
- serviceId: The bookable service to check and book against.
- rateId: The rate applied to the reservation.
- requestedCategoryId: The requested resource (room) category.
- customerId: The guest the reservation is for.
- firstTimeUnitStartUtc: Start of the first time unit to check availability for, in UTC.
- lastTimeUnitStartUtc: Start of the last time unit to check availability for, in UTC.
- startUtc: The reservation start in UTC.
- endUtc: The reservation end in UTC.
For your developer
Arazzo workflow mews-com:service-availability-to-reservation, 3 operations: services_getAll → services_getAvailability → reservations_add. Specs on APIs.io.