Sandbox
Each app has a production and a sandbox environment. They are completely separate:
- separate credentials (
test_client IDs) - separate token signing keys and audiences
- separate IP rules, rate limits, and request logs
A sandbox token is rejected by production, and a production token is rejected by sandbox.
What sandbox can do today
Sandbox is read-only for now. Catalogue, product, category, availability, price, review, and blog reads work.
Requests that would create or change data, such as quotes, bookings, cancellations, and travellers, return:
{
"type": "https://developer.staging.agantia.com/errors/sandbox-writes-unavailable",
"title": "Sandbox writes unavailable",
"status": 503
}
Booking in sandbox will open once sandbox runs on isolated test data, so test bookings can never touch live bookings, payments, or inventory. Until then, test booking flows in production against a product the merchant sets up for testing, and cancel the test bookings afterwards.
Turning sandbox on or off
A merchant administrator can turn sandbox on or off for each app on the Throttling tab, under Environment.