Export Bookings
You can export booking data based on specific filters such as date range, search terms, and booking types. This allows you to generate reports or analyze booking trends.
Export Bookings to CSV
Export filtered booking data to CSV format.
Endpoint: POST /api/v1/bookings/extractCSV
Request Body:
{
"rangeDates": {
"from": "2024-06-01",
"to": "2024-06-30"
},
"search": "",
"rangeDatesTravelPeriod": {
"from": "2024-06-01",
"to": "2024-08-31"
},
"product": "hotel",
"scope": "dmc"
}The request body takes the same filters as POST /api/v1/bookings/list — build and refine your filter with the list endpoint, then send the same body here to export the matching bookings. Commonly used: rangeDates (booking creation dates), rangeDatesTravelPeriod (stay dates), search (customer names and references), product (hotel / experience), scope (dmc / to), organizationId, hotelId, experienceId, customerFileId, stars, withReplacedBookings. See Search Bookings for the full list.
Response: The CSV content, returned directly in the response body — save it to a file on your side.