Re-quote a locked train fare

Re-lock the offer behind a fare the caller already locked with POST /v1/{vertical}/fares/build — after that fare expired for booking — and return the re-locked fare under a new fareId, the previous total, the new total, and priceChanged. The offer is the same one: same segments and fare family, same car offer, or same stay rate (room type, board, cancellation policy). Show the totals to the traveller and retry booking with the new fareId only after they confirm.\n\nIdempotency-Key is required. Replaying a key for the same fare returns the original result verbatim and does not lock a second time; a different key starts a new re-quote.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
Headers

Client-generated idempotency key (UUID v4 recommended). Replaying it for the same fare returns the original result instead of locking the offer again.

Responses

401

Missing or invalid authentication

404

No fare with this id was locked by the calling account (unknown, locked by another account, or locked too long ago to re-quote)

410

OFFER_EXPIRED — the same offer can no longer be booked at any price (recoveryAction CHANGE_SELECTION)

422

Missing Idempotency-Key header or inconsistent fare context

503

Provider or cache unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json