05 Reprice quote
Reprices a booking against current rates and extends `expires_on` by another week. No request body.
Use it when a quote has expired and you want to confirm it, or when you want a fresh price without changing anything about the itinerary.
The itinerary is untouched: journeys, stops, services and passengers stay exactly as they are. Only the prices, the totals and `expires_on` move.
### Responses
| Status | `error_code` | When |
| --- | --- | --- |
| `200` | ā | Repriced. `message` is `Booking has been recalculated!` |
| `404` | `booking_not_found` | Unknown id, or a booking that is not yours. |
| `404` | `endpoint_not_found` | A non-numeric id never reaches this endpoint; the route only matches digits. |
| `409` | `booking_cancelled` | The booking is cancelled. Terminal, do not retry. |
| `401` | `unauthenticated` | Bearer token missing, invalid or expired. |
| `500` | `server_error` | Our fault. Nothing was changed. |
**Do not reprice a confirmed booking.** There is no guard against it. The status stays `booking`, but `billing.status` resets to `0` and `grand_total` is rewritten, so an already-invoiced booking ends up looking unpaid at a possibly different price. Reprice quotes only.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
OK
message
status
responseTime
trace
data
Errors
404
Not Found Error
409
Conflict Error