Create Reservation
create_reservationReserve seats on a logged-in RegioJet account and create an unpaid booking that expires unless paid or cancelled. Use route, seat class, and section details to hold seats before payment.
Instructions
Reserve seats on the logged-in account. The reservation is UNPAID and expires at expiration_date unless paid (pay_ticket_with_credit, or in the RegioJet app/web) or cancelled first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| tariffs | No | Passenger tariff per traveller, e.g. ['REGULAR', 'REGULAR', 'CHILD_UNDER_12']. See list_tariffs. | |
| currency | No | Price currency; defaults to server setting. | |
| route_id | Yes | Route id from search_routes. | |
| sections | Yes | Every section of the route from get_route_detail, optionally with chosen seats. | |
| seat_class | Yes | seat_class from get_route_detail price_classes. | |
| price_source | Yes | price_source of the chosen seat class from get_route_detail. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |