To support developers in building and testing integrations more efficiently, we offer a Sandbox environment for a curated set of APIs under Flights and Lodging domain. This environment simulates expected behavior using mock responses, helping partners test API requests without affecting live systems.
With Sandbox, you can experiment search, availability, reservations, and cancellations capabilities of Flights and Lodging APIs.
Note: The Sandbox currently supports limited dynamic behavior. Responses are mostly static, with only a subset of elements varying based on the request parameters.
All sandbox endpoints are publicly accessible with the same API key or token mechanism used in production.
If you already have access to XAP API in production, you can use the same API Key and Password to access the sandbox environment. Otherwise, request sandbox access from your Expedia Account Manager.
Enter Authentication credentials Enter your username and password in the Basic Authentication section. Use the same credentials you use for production or the one given for Sandbox access.
Select the API Choose the API you want to test from the available list.
Fill in Parameters Use the sample values provided in this Sandbox guidance documentation to populate the request parameters.
Click Try It Out Submit the request to view the mock response in the response section.
Use cURL Examples in Postman (Optional) You can also copy the cURL requests provided in this documentation and run them directly in tools like Postman, Terminal, or other REST clients for testing outside the API Explorer interface.
The examples above are provided for demonstration purposes only. The offerToken and itinerary numbers are mock values and do not represent actual bookings.
Below are some common error scenarios you may encounter when using the Lodging APIs in the Sandbox environment.
The examples above are provided for demonstration purposes only. The offerToken and itinerary numbers are mock values and do not represent actual bookings.
Below are some common error scenarios you may encounter when using the Lodging APIs in the Sandbox environment.