What is a booking?
A booking is the arrangement that you make when you book something such as a hotel room, a table at a restaurant, a theatre seat, or a place on public transport. Collins English Dictionary
For the purposes of an integration with Wherewolf, a booking is a JSON
object that describes who
booked what
and when
.
In other words, a booking is the expectation that someone will get or do something at an agreed date and time
Find the structure of this JSON
object on Bookings Details endpoint.
WHO - Who is the booking for?
A booking needs to define who
benefits from it. It could be one or multiple persons, they are known as guests
.
The total number of guests
is known as pax
.
WHAT - What is being booked?
A booking must also define what
the guests
booked. This is a product or service and could be anything from a guided tour to a rental kayak.
Bookings can contain one or more products or services.
For the purposes of Wherewolf’s API this is known as activities
.
WHEN - When is the booking due?
Bookings, are expectations. A guest
is expected to get or do something
at some point in the future.
This point in time is the pillar of a booking, bookings must define a point in time.
A booking can define only one date and time. If someone needs to book multiple dates, these are by definition multiple bookings.