---
title: "Hotel update (push)"
method: POST
path: "/hotel-update"
tags: ["Termino endpoints"]
---

# Hotel update (push)

`POST /hotel-update`

Synchronization of changed hotel info and structure.

Usage:

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

## Request body

- object
  - `accessToken` string, required — Access token to your API.
  - `hotel` Hotel[], required — Updated hotel info.
    - `id` string — Your id of the hotel
    - `name` string — Name of the hotel
    - `address` Address
      - `street` string — Street name and number
      - `city` string — City / quarter
      - `country` string — 2-letter country code by ISO-3166-1
  - `roomTypes` RoomType[] — Updated room types.
    - `id` string — Room type id
    - `name` string — Room type name
    - `beds` integer — Count of beds
    - `extraBeds` integer — Count of extra beds
    - `roomsCount` integer — Count of rooms of given type
    - `rooms` object[]
      - `id` string — Your room id
      - `name` string — Name of the room
  - `ratePlans` RatePlan[] — Updated rate plans.
    - `id` string, required — Rate ID or rate code. Should be human readable (eg. DEFAULT, HB). Unique in context of hotel
    - `name` string, required — Name of the rate plan
    - `pricingModel` 'per_room' | 'per_person' | 'per_occupancy', required — Pricing model used for this rate plan. Prices sent in planning updates has to follow this model.

## Response `200`

Successful response

- SuccessResponse
  - `success` boolean, required — Always true.

## Other responses

- `400` — Expected error

## Changes

- **2025-11-28** `b2f22ce7f100` — 1 breaking, 3 warning, 1 info
  - the `hotel` request property type/format changed from `object`/`` to ``/``
  - removed the request property `hotel/address`
  - removed the request property `hotel/id`
  - removed the request property `hotel/name`
  - …1 more
- **2023-12-18** `e71df5051cc4` — 1 warning
  - removed the request property `hotelId`
- **2023-12-18** `2449b1b91089` — 1 warning, 1 info
  - removed the request property `hotel/roomTypes`
  - added the new optional request property `roomTypes`
- **2023-10-31** `371c7c53f22d` — 2 info
  - api tag `Termino endpoints` added
  - api tag `Push endpoints` removed
- **2023-10-30** `e19082e0fb0f` — 2 breaking, 2 warning, 6 info
  - added the new required request property `hotelId`
  - the `hotel` request property type/format changed from ``/`` to `object`/``
  - removed the request property `ratePlans`
  - removed the request property `roomTypes`
  - …6 more

[Change history](https://skmtc.dev/slevomat/apis/termino-hotel-api/changes/hotel-update/post.md)

---

[API](https://skmtc.dev/slevomat/apis/termino-hotel-api.md) · [All operations](https://skmtc.dev/slevomat/apis/termino-hotel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/slevomat/termino-hotel-api/revisions/776409ba477b/schema)
