- Confirmation Numbers
- Experience Details including cost
- Payment Method
- Purchaser Details
- Etc.
Pagination and Meta data
The Get Bookings call has the potential to return a tremendous amount of data, so this API call does support pagination. By default, the call will only return 15 items per request. The request will also provide convenient links to allow for easy navigation among the pages if your design requires that feature. Here is an example of the links section returned by the Get Bookings call:Filter By Date Range
One of the ways to reduce the size of the payload returned is to limit the call scope to a particular date range. Two of the most commonly used ranges are by transaction or by experience date. The transaction date range could be used to find a reservation based on the original payment date. The experience date range could be used to find all the bookings for a particular day or even all the bookings for a particular experience on a specific date. The two date range parameters are as follows:- transactionDateRange
- experienceDateRange
By Experience Id
Another extremely useful option is to return all the bookings for a specific Experience Id. When used in conjunction with the experienceDateRange option above, this API can be used to extract a list of bookings for the day that can be used to check in guests for an experience. To filter by Experience Id, you would add the following parameter:Sorting
If your use case requires working with a large collection of data, leveraging sorting options can optimize and present the results in the most relevant manner. Sorting Options (sortBy):- booking.status
- booking.purchaser
- booking.createdAt
- booking.amount
- brand.name
- experience.title
- event.startDateTime
- ASC
- DESC