---
title: "Set several tables' seats"
method: POST
path: "/api/public/v1/tables/updateTableCapacities"
---

# Set several tables' seats

`POST /api/public/v1/tables/updateTableCapacities`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/tables/updateTableCapacities`
- Auth: none declared

Sets each named table's seats, all or nothing. Returns NOT_FOUND, changing none, when any named table is not at the location. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `locationId` string, required
  - `tables` object[], required
    - `tableId` string, required
    - `capacity` integer, required

## Response `200`

OK

- object[]
  - `id` string, required
  - `prefix` string, required
  - `number` integer, required
  - `label` string, nullable, required
  - `mode` 'menu_only' | 'menu_pay_after' | 'menu_tips' | 'menu_order_pay_after', required
  - `capacity` integer, required
  - `sectionId` string, nullable, required

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
