🧠Main User Steps with API Endpoints#
Login (Choose one method and perform login):
B2B Login (using login/password)
POST {{url}}/api/login?locale=RU
B2B Login Token (using header etm-auth-token)
POST {{url}}/api/login?locale=RU
B2C Login (GET with app_id)
GET {{url}}/api/login/{{app_id}}?locale=ENMandatory Flight Search:
Search Direct flight / Connecting flight / Round trip
POST {{url}}/api/air/search
(Request body varies for direct, connecting, or round trip)Optional Flight Schedule Request:
POST {{url}}/api/air/scheduleMandatory Offers Request (repeat until status = Ready):
POST {{url}}/api/air/offers
Body: {"request_id": "{{request_id}}", "next_token": "{{next_token}}"}
Send the request every 2 seconds. In the first request next_token is omitted or null, then send next_token from the previous response. Each response contains only new offers: collect them. Stop when status is Ready (at most 60 seconds after the search started).Optional Offer-related Requests:
Documents types for offer
GET {{url}}/api/documents/types/site?locale=RU&pid={{pcc_id}}Smart Offer Request
GET {{url}}/api/air/offers/{{buy_id}}/smart_ffOffer info
GET {{url}}/api/air/offers/{{buy_id}}/infoRequired mandatory Offer Availability Check:
GET {{url}}/api/air/offers/{{buy_id}}/availability?price_change_confirm=1Optional Additional Services (viewing and selecting):
Available additional services
GET {{url}}/api/air/offers/{{request_id}}/additional-services?segment={{buy_id}}Select additional services
POST {{url}}/api/air/offers/{{request_id}}/select-servicesMandatory Order Creation:
POST {{url}}/api/air/ordersOptional Order Split:
PATCH {{url}}/api/air/orders/{{order_id}}/splitOptional Payment Methods and Order Payment:
Payment methods for offer
POST {{url}}/api/air/offers/{{buy_id}}/paymentsOrder payment
POST {{url}}/api/air/offers/{{buy_id}}/paymentsOptional Checkout Payment Status:
GET {{url}}/api/air/orders/{{order_id}}/paymentRarely Used/Requiring Specific Scenarios:
Refund order
GET {{url}}/api/air/orders/{{order_id}}refundOptional Order Information Requests:
Get order info
GET {{url}}/api/air/orders/{{order_id}}Print E-Ticket
GET {{url}}/api/air/orders/{{order_id}}/printReceiving a cancellation fee
GET {{url}}/api/air/orders/{{order_id}}/void_feesCancel Order (optional but required in some cases)
GET {{url}}/api/air/orders/{{order_id}}/voidOptional Dictionaries (Can be used anytime):Get airports
GET {{url}}/api/dictionaries/airports?country=RU&type=avia&per_page=100Get cities
GET {{url}}/api/dictionaries/cities?country=RUGet countries
GET {{url}}/api/dictionaries/countries?with_flag=1&per_page=10Get contractor info (returns id, name and Taxpayer Identification Number of subordinated Agents and corporates)
GET {{url}}/api/info/contractor/1111Modified at 2026-11-25 13:27:29