Update or add new data on the proposals of several hotels to Yandex

Update or add new data on the proposals of several hotels to Yandex

  • Request format
  • The format of the body of the request

This process allows you to add or update sentences for several hotels at the same time. Hotels are represented by the Hotel model, and offers (Offer) are numbers with the indicated prices for various placement conditions presented by the Offer model.

Request format to Yandex

To add or update offers for several hotels, the following request is used:

POST https://example-hotels-api.com/api/v1/offers

Request format in Yandex

The body of the request should contain the following structure:

{
 "offersPerHotel": [
 {
 "hotelId": "hotel_id_1",
 "offers": [, , ..., ]
 },
 {
 "hotelId": "hotel_id_2",
 "offers": [, , ..., ]
 },
 ...,
 {
 "hotelId": "hotel_id_N",
 "offers": [, , ..., ]
 }
 ]
}

You can use this format to add or update offers on several hotels in your site at the same time.

To receive additional information or assistance assistance and requests, you can contact SEO.compter specialists for any safety and optimization of your site. Contact us through email: info@seo.computer or through WhatsApp: +79202044461.

ID 170

Send a request and we will provide a consultation on SEO promotion of your website