ETS API
  1. OPTIONAL
ETS API
  • Try it and Run in ApiDog
  • AVIA API
  • AVIA Flows example
  • HOTELS API
  • AVIA
    • 1 REQ B2B Login
      POST
    • 1 REQ B2B Login Token
      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 UPD LATER
      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
      POST
    • 13 Сheckout status
      GET
    • 14 Refund order
      GET
    • 15 Get order info
      GET
    • 16 Print E-Tiket
      GET
    • 17 Receiving a cancellation fee
      GET
    • 18 Cancel Order
      GET
    • 19 Get airports
      GET
    • 20 Get cities
      GET
    • 21 Get countries
      GET
  • HOTELS
    • REQUIRED
      • 1 REQ B2B Login
      • 1 REQ B2C Login
      • 2 REQ Destination
      • 2 REQ Search
      • 3 REQ Receiving found hotels
      • 4 REQ Getting a Hotel Offer
      • 5 REQ Create order
      • 6 REQ Cancel order
    • OPTIONAL
      • 1 REQ B2B Login
        POST
      • 1 REQ B2C Login
        GET
      • 2 REQ Search
        POST
      • 3 OPT Destination point info
        GET
      • 4 OPT List of popular destinations Copy
        GET
      • 5 OPT List of filtered destinations
        GET
      • 6 OPT Group guide
        GET
      • 7 OPT Getting information on possible hotels
        GET
      • 8 OPT Getting the list of currencies
        GET
      • 9 REQ Receiving found hotels
        POST
      • 10 REQ Getting a Hotel Offer
        GET
      • 11 OPT Cancel-policies
        GET
      • 12 OPT Account number and info
        GET
      • 13 OPT Receiving information on the hotel offer
        GET
      • 14 OPT Receive detailed information about the cost of an offer
        GET
      • 15 REQ Create order
        POST
      • 16 OPT Receive hotel services
        GET
  1. OPTIONAL

13 OPT Receiving information on the hotel offer

GET
{{HOTELS_URL}}/api/hotels/v2/offers/{{buy_id}}

Request

Header Params

Responses

🟢20011 Receiving information on the hotel offer
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://stage-hotels.etm-system.ru/api/hotels/v2/offers/{{buy_id}}' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json'
Response Response Example
{
    "id": 876348,
    "hotel_id": 11537594,
    "refundability": 0,
    "booking_remarks": " ",
    "free_cancel_description": "Нет данных по политике отмены",
    "is_cancel_policies_on_offer": 1,
    "is_cancel_policies_on_request": false,
    "cancel_policies_exist": true,
    "is_prices_on_request": false,
    "supplier": null,
    "has_free_cancel_policy": true,
    "is_travel_policy_fail": 0,
    "is_advance_booking_allowed": false,
    "travel_policy_fail_details": null,
    "travel_policy_id": 0,
    "retrieved_at": "23.01.25 20:28",
    "expired_at": "2025-01-23T19:28:18.000000Z",
    "surcharges": {
        "data": []
    },
    "min_expired_at": "2025-01-23T19:28:18.000000Z",
    "remain_seconds": 3586,
    "value": {
        "currency": "RUB",
        "base": 30352.7,
        "markup": 0.3,
        "markup_general": 0.3,
        "discount_general": 0,
        "hidden_markup": 0,
        "discount": 0,
        "commission": 0,
        "psp": 0,
        "total": 30353
    },
    "value_additional": [],
    "rooms": [
        {
            "id": 919075,
            "offer_id": 876348,
            "basic": "",
            "type": "Sea View Room with Balcony",
            "class": "Sea View Room with Balcony",
            "adult_qty": 1,
            "availability": 1,
            "breakfast_included": 1,
            "is_nonsmoking": null,
            "description": "Sea View Room with Balcony",
            "booking_code": "9bab93f7-01a1-4766-b075-6c4e22",
            "room_code": "4cd049cd-3ba6-4fbf-9e31-45980c894d8a",
            "refundability": null,
            "image_id": 333695477,
            "bed_qty": null,
            "children": [],
            "value": {
                "currency": "RUB",
                "base": 0,
                "markup": 0,
                "markup_general": 0,
                "discount_general": 0,
                "hidden_markup": 0,
                "discount": 0,
                "commission": 0,
                "psp": 0,
                "total": 0
            },
            "images": [],
            "amenities": [],
            "meal": [
                {
                    "name": "Без питания",
                    "group": {
                        "id": 2,
                        "name": "Питание не включено"
                    }
                }
            ],
            "mealPrices": [],
            "minStayDay": null,
            "isMinStayAlert": null,
            "transferName": null,
            "has_free_cancel_policy": null,
            "free_cancel_description": null,
            "cancel_policy": null
        }
    ],
    "cancel_policy": {
        "offer_id": 876348,
        "description": "C 23.01.25 06:00 (UTC+3) штраф за отмену составит 30352.70RUB\n",
        "free_cancel_date": null,
        "remarks": null
    },
    "currency_cancel_policy": [],
    "provider": {
        "id": 1718,
        "name": "Paximum_GL"
    },
    "image": {
        "id": 333695477,
        "guide_hotel_id": 32374746,
        "num": 1,
        "url": "http://media.dev.paximum.com/hotelimages/326241/196852a_hb_f_003.jpg",
        "description": null,
        "category": null,
        "url_small": "http://media.dev.paximum.com/hotelimages/326241/196852a_hb_f_003.jpg"
    },
    "price_per_currency": {
        "EUR": {
            "currency": "EUR",
            "base": 293.74,
            "markup": 0.26,
            "markup_general": 0.26,
            "discount_general": 0,
            "hidden_markup": 0,
            "discount": 0,
            "commission": 0,
            "psp": 0,
            "total": 294
        },
        "RUB": {
            "currency": "RUB",
            "base": 30352.7,
            "markup": 0.3,
            "markup_general": 0.3,
            "discount_general": 0,
            "hidden_markup": 0,
            "discount": 0,
            "commission": 0,
            "psp": 0,
            "total": 30353
        },
        "USD": {
            "currency": "USD",
            "base": 305.83,
            "markup": 0.17,
            "markup_general": 0.17,
            "discount_general": 0,
            "hidden_markup": 0,
            "discount": 0,
            "commission": 0,
            "psp": 0,
            "total": 306
        }
    },
    "user_timezone": 3,
    "price_changed": false,
    "policy_changed": false,
    "meta": {
        "gender": {
            "Mr": "Мужчина",
            "Mrs": "Женщина"
        },
        "birthDate": true,
        "phone": true,
        "email": true,
        "transferSetting": false
    },
    "stay_dates": {
        "from": "2025-02-21",
        "to": "2025-02-22"
    },
    "booking_timer": 15,
    "pay_methods": [
        {
            "type": "deposit",
            "name": "Депозит",
            "total": "30353.00",
            "currency": "RUB"
        },
        {
            "type": "customer_card",
            "name": "Кредитная карта",
            "psp": [
                {
                    "id": 3573,
                    "title": "YooKassa_GL",
                    "fee": 0,
                    "total": "30353.00",
                    "currency": "RUB"
                }
            ]
        }
    ],
    "hotel": {
        "id": 11537594,
        "guide_hotel_id": 32374746,
        "name": "J-A Ocean View Hotel",
        "image_id": 333695477,
        "image_url": "http://media.dev.paximum.com/hotelimages/326241/196852a_hb_f_003.jpg",
        "image_qty": 22,
        "stars": 5,
        "address": "PO Box 26500 Dubai",
        "latitude": "25.07327000",
        "longitude": "55.13037000",
        "offers_qty": 1,
        "min_price": 293.74,
        "max_price": 293.74,
        "price_per_currency": {
            "EUR": {
                "min_price": null,
                "max_price": null
            },
            "RUB": {
                "min_price": null,
                "max_price": null
            },
            "USD": {
                "min_price": null,
                "max_price": null
            }
        },
        "is_discount": false,
        "is_travel_policy_fail": 0,
        "travel_policy_fail_details": false,
        "facilities": [],
        "top_facilities": [],
        "category_groups": [],
        "refundability": 1,
        "boards": []
    }
}
Modified at 2025-08-19 06:32:57
Previous
12 OPT Account number and info
Next
14 OPT Receive detailed information about the cost of an offer
Built with