post
https://example.com/v1//bookings
Create a booking from a locked fare. fareId must come from GET /v1/{vertical}/search/{sessionId}/fares/{fareId}.
When tripId is supplied, a TripSegment record is persisted linking this booking to its parent trip.
The Idempotency-Key header is required to prevent duplicate bookings on network retry.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Missing or invalid authentication
403User lacks booking capability for this vertical
404Referenced fare or tripId does not exist / is not accessible to the authenticated account
409Booking already exists (conflict)
410Offer expired (OFFER_EXPIRED); refresh fare search
422Validation error, missing Idempotency-Key header, missing passenger document, or required custom attributes were not supplied
503Booking service not configured