---
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

---

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