POST/api/sandbox/policy/{policy_ref}/modify
Applies a pre-approved correction scenario. The sandbox exposes a fixed scenario list rather than free-form endorsements, so no unsafe change can be attempted.
| Field | Type | Required | Notes |
|---|---|---|---|
| scenario | enum | Yes | extend_end_date, shorten_end_date, correct_destination, correct_partner_reference. |
| new_end_date | string (YYYY-MM-DD) | No | Required for the date scenarios. |
| destination_country | string | No | Required for correct_destination. |
| partner_reference | string | No | Required for correct_partner_reference. |
Request
POST /api/sandbox/policy/pol_sbx_9f42kq/modify
Content-Type: application/json
{ "scenario": "extend_end_date", "new_end_date": "2026-11-18" }Response
{
"ok": true,
"mode": "uat_gateway",
"request_id": "req_2ce7bd40",
"data": {
"policy_ref": "pol_sbx_9f42kq",
"status": "endorsed",
"trip": { "end_date": "2026-11-18" }
},
"meta": { "sandbox": true }
}- Traveller identity corrections are not available in the public sandbox because no personal data exists to correct.