ETS API
    ETS API
    • Try it and Run in ApiDog
    • AVIA API Documentation
    • AVIA Flows example
    • HOTELS API
    • AVIA
      • 1 REQ B2B Login Token (PREFERRED)
        POST
      • 1 REQ B2B Login (TO BE REMOVED, USE TOKEN LOGIN)
        POST
      • 1 REQ B2C Login
        GET
      • 2A Search Direct flight
        POST
      • 2B Search Connecting flight
        POST
      • 2C Search Round trip
        POST
      • 3 Schedule - Amadeus optional
        POST
      • 4 Offers request
        GET
      • 4B Smart Offer Request optional
        GET
      • 5 Documents types for offer
        GET
      • 6 Offer info
        GET
      • 7 Availability of Offer
        GET
      • 8 OPT Available Services
        GET
      • 9 OPT Select services
        POST
      • 10 Create Order
        POST
      • 11 Split Order
        PATCH
      • 12 Order payment methods
        POST
      • 13 Order payment
        POST
      • 14 Сheckout status
        GET
      • 15 Refund order
        GET
      • 16 Get order info
        GET
      • 17 Print E-Tiket
        GET
      • 18 Receiving a cancellation fee
        GET
      • 19 Cancel Order
        GET
      • 20 Get airports
        GET
      • 21 Get cities
        GET
      • 22 Get countries
        GET
    • HOTELS
      • REQUIRED
        • 1A REQ B2B Login
        • 1B REQ B2B Login Token
        • 1C REQ B2C Login
        • 2 REQ Destination
        • 3 REQ Search
        • 4 REQ Receiving found hotels
        • 5 REQ Getting a Hotel Offer
        • 6 REQ Create order
        • 7 REQ Cancel order
      • OPTIONAL
        • 1 REQ B2B Login
        • 1B REQ B2B Login Token Copy
        • 1 REQ B2C Login
        • 2 REQ Search
        • 3 OPT Destination point info
        • 4 OPT List of popular destinations Copy
        • 5 OPT List of filtered destinations
        • 6 OPT Group guide
        • 7 OPT Getting information on possible hotels
        • 8 OPT Getting the list of currencies
        • 9 REQ Receiving found hotels
        • 10 REQ Getting a Hotel Offer
        • 11 OPT Cancel-policies
        • 12 OPT Account number and info
        • 13 OPT Receiving information on the hotel offer
        • 14 OPT Receive detailed information about the cost of an offer
        • 15 REQ Create order
        • 16 OPT Receive hotel services
    • Schemas
      • Sample Schemas
        • Pet
        • Category
        • Tag

    AVIA Flows example

    🧭 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=EN
    Mandatory 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/schedule
    Mandatory Offers Request:
    GET {{url}}/api/air/offers?request_id={{request_uid}}
    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_uid}}/smart_ff
    Offer info
    GET {{url}}/api/air/offers/{{buy_uid}}/info
    Required mandatory Offer Availability Check:
    GET /offers/{{buy_uid}}/availability
    Optional 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-services
    Mandatory Order Creation:
    POST {{url}}/api/air/orders
    Optional Order Split:
    PATCH {{url}}/api/air/orders/{{order_id}}/split
    Optional Payment Methods and Order Payment:
    Payment methods for offer
    POST {{url}}/api/air/offers/{{buy_id}}/payments
    Order payment
    POST {{url}}/api/air/offers/{{buy_id}}/payments
    Optional Checkout Payment Status:
    GET {{url}}/api/air/orders/{{order_id}}/payment
    Rarely Used/Requiring Specific Scenarios:
    Refund order
    GET {{url}}/api/air/orders/{{order_id}}refund
    Optional Order Information Requests:
    Get order info
    GET {{url}}/api/air/orders/{{order_id}}
    Print E-Ticket
    GET {{url}}/api/air/orders/{{order_id}}/print
    Receiving a cancellation fee
    GET {{url}}/api/air/orders/{{order_id}}/void_fees
    Cancel Order (optional but required in some cases)
    GET {{url}}/api/air/orders/{{order_id}}/void
    Optional Dictionaries (Can be used anytime):
    Get airports
    GET {{url}}/api/dictionaries/airports?country=RU&type=avia&per_page=100
    Get cities
    GET {{url}}/api/dictionaries/cities?country=RU
    Get countries
    GET {{url}}/api/dictionaries/countries?with_flag=1&per_page=10
    Modified at 2025-09-18 09:19:23
    Previous
    AVIA API Documentation
    Next
    HOTELS API
    Built with