Get all bookings from Experience, Restaurant, and Hotel verticals
Aggregates bookings from Experience, Restaurant, and Hotel APIs and returns them in a unified format.
## Features
- **Multi-Vertical Support**: Fetches bookings from Restaurant, Experience, and Hotel services
- **Unified Response**: Standardized format across all booking types
- **Filtering & Pagination**: Support for status, dataType, date range, and pagination
- **Sorting**: Configurable sorting by various fields
- **Metadata**: Counts of bookings by type
## Query Parameters
- **status**: Filter by booking status (confirmed, pending, cancelled, completed, active, inactive, expired, refunded, processing)
- **dataType**: Filter by booking type (RESTAURANT, EXPERIENCE, HOTEL) - defaults to all types if not specified
- **page**: Page number for pagination (default: 1)
- **limit**: Number of items per page (1-100, default: 20)
- **sortBy**: Field to sort by (optional) - defaults to booking date:
- Hotel: bookingDetails.checkinDate
- Experience: startDateTime
- Restaurant: date
- Falls back to createdAt if booking date not available
- **sortOrder**: Sort direction (asc/desc, default: desc)
- **dateFrom**: Start date filter (ISO format) - if no end date provided, treats as single day
- **dateTo**: End date filter (ISO format) - if not provided with start date, treats start date as single day
## Response Structure
Each booking includes:
- **id**: User ID associated with the booking
- **dataType**: Type of booking (RESTAURANT, EXPERIENCE, HOTEL)
- **data**: Raw booking data from the respective service
- **metadata**: Counts by booking type
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
status
dataType
page
limit
sortBy
sortOrder
dateFrom
dateTo
Response
Successfully retrieved bookings
success
data
