v1

latestOpenAPI 3.0.22026-07-13122949.2 KB
Termino endpoints

Hotel update (push)

Synchronization of changed hotel info and structure.

Usage:

  • CM / PMS pushes hotel info and structure changes to Termino
post/hotel-update

Request body

accessTokenstring required

Access token to your API.

Example request

{
  "hotel": [
    {
      "id": "123456",
      "name": "Hotel Example",
      "address": {
        "street": "Pernerova 691",
        "city": "Praha 8",
        "country": "CZ"
      }
    }
  ],
  "roomTypes": [
    {
      "id": "123456",
      "name": "Double room",
      "beds": 2,
      "extraBeds": 1,
      "roomsCount": 10,
      "rooms": [
        {
          "id": "125",
          "name": "Room 125"
        }
      ]
    }
  ],
  "ratePlans": [
    {
      "id": "HB",
      "name": "Half-board",
      "pricingModel": "per_room"
    }
  ]
}

Response

Successful response

successboolean required

Always true.

Example response

{
  "success": true
}