---
title: "Capacities (push)"
method: POST
path: "/capacities-update"
tags: ["Termino endpoints"]
deprecated: true
---

# Capacities (push)

`POST /capacities-update`

> **Deprecated.**

**This endpoint is deprecated in favor of more powerful [/planning-update](#tag/Termino-endpoints/operation/planning-update).** No removal is currently planned. Any new implementations should use [/planning-update](#tag/Termino-endpoints/operation/planning-update).

Synchronization of changed capacities

Usage:

 - CM / PMS pushes capacity changes to Termino

## Request body

- object
  - `accessToken` string, required — Access token to your API.
  - `hotelId` union, required — Your hotel id.
    - string
    - integer
  - `capacities` Capacity[], required — List of updated capacities.
    - `roomTypeId` union, required — Your id of room type.
      - string
      - integer
    - `interval` DateInterval, required — DateInterval is [start, end) – end date is exclusive.
      - `start` string, date, required — Start date in the format 'yyyy-mm-dd'.
      - `end` string, date, required — End date in the format 'yyyy-mm-dd'. Exclusive.
    - `availableRooms` integer, required — Count of free rooms in this interval.

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