Travel booking reservation with user, booking type, reference number, check-in/check-out dates, total cost, and status. Used for hotel bookings, travel reservations, and accommodation management systems.
https://api.mockly.codes/bookings?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/bookingsGet a collection of bookings
/travel/bookings/bookings/:idGet a single booking by ID
/travel/bookings/:id/bookings/metaGet resource metadata and schema
/travel/bookings/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/bookings?q=laptopGET https://api.mockly.codes/bookings?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searchedcurl "https://api.mockly.codes/bookings?page=1&limit=10&count=10"Examples reflect your current request builder settings.
idintegerUnique identifier for the booking
random_intuser_idintegerForeign key reference to the user who made the booking
random_inttypestringBooking type (e.g., hotel, flight, car_rental, tour)
wordreferencestringUnique booking reference number or confirmation code
uuidcheck_instringCheck-in date for accommodation bookings
future_datedatecheck_outstringCheck-out date for accommodation bookings
future_datedatetotalnumberTotal booking cost
pricestatusstringBooking status (e.g., confirmed, pending, cancelled, completed)
statuscountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request