Execute one operation on an issued train booking, confirming the estimatedTotalAmount from the preceding POST .../operation-quotes. operationType is change_datetime, change_itinerary, remove_legs, remove_passengers, change_travellers or cancellation. Removing a traveler who is the booking holder requires newHolderTravelerId, a traveler who stays.
Returns 201 when the operator completed it and 202 while it is still being confirmed (status: processing); read the booking until it settles. A total that moved since the quote returns 409 CHANGE_PRICE_CHANGED (or CANCELLATION_FEE_CHANGED): quote again and confirm with a new Idempotency-Key.
The Idempotency-Key header is required.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
202The operation is still being confirmed
401Missing or invalid authentication
404Booking not found
409The operator does not allow changing the booking now
410The change search expired; search again
422The selection does not fit the booking or the operator's rules (INVALID_CHANGE_SELECTION; details[0].reason says why)
503Booking or train provider unavailable