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

## Changes

- **2025-11-28** `b2f22ce7f100` — 1 info
  - endpoint deprecated
- **2023-10-31** `371c7c53f22d` — 2 info
  - api tag `Termino endpoints` added
  - api tag `Push endpoints` removed
- **2023-10-30** `e19082e0fb0f` — 3 info
  - api tag `Push endpoints` added
  - api tag `Termino endpoints` removed
  - endpoint reactivated

[Change history](https://skmtc.dev/slevomat/apis/termino-hotel-api/changes/capacities-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)
