Mews · Arazzo Workflow
Mews Service Availability to Reservation
Version 1.0.0
Resolve a service, check category availability, then book if space exists.
View Spec
View on GitHub
HospitalityHotelPMSProperty ManagementTravelBookingReservationsCloudSaaSArazzoWorkflows
Provider
Workflows
service-availability-to-reservation
Check service availability and book a reservation when space is open.
Loads the service, reads per-category availability for the stay window, and creates a reservation only when at least one category reports availability.
1
getService
services_getAll
Resolve the bookable service so availability can be queried against it.
2
getAvailability
services_getAvailability
Read per-category availability across the requested time units to decide whether the stay can be booked.
3
bookReservation
reservations_add
Create the reservation now that the service reported availability for the requested window.