Order Info
Information retrieval endpoints for accessing comprehensive details about orders and tickets after booking completion.
These endpoints provide detailed information about existing orders and tickets, including passenger data, route information, payment status, cancellation policies, and download links for ticket documents.
Order Information Workflow
Post-Booking Information Access
- Order Completion → Customer completes booking through
new_order
→payment
- Order Tracking → Use
get_order
for comprehensive order status and details - Ticket Management → Use
get_ticket
for individual ticket information and PDF access - Customer Service → Access passenger details, payment history, and cancellation options
Available Endpoints
get_order
Retrieve comprehensive information about an entire order including all routes, passengers, payment methods, and order history. This endpoint provides a complete overview of the booking status and is essential for order management and customer service.
get_ticket
Retrieve detailed information about specific tickets or all tickets within an order. This endpoint provides comprehensive ticket data needed for passenger management, boarding verification, and customer service.
buy_ticket
Finalize a booking and issue tickets after successful payment or for free tickets. This is a crucial step that converts a temporary order into a confirmed booking.
cancel_ticket
Cancel issued tickets and process refunds according to carrier policies. This endpoint handles the entire cancellation process, including calculating penalties and returning funds.
print_ticket
Generate and retrieve ticket documents in various formats (e.g., PDF, HTML). This endpoint provides the final, printable ticket for passengers to use for boarding.