---
title: "Edit a table or move it to another section"
method: POST
path: "/api/public/v1/tables/updateTable"
---

# Edit a table or move it to another section

`POST /api/public/v1/tables/updateTable`

## Request

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

Updates only supplied fields on this table. sectionId moves the table to another section of the same venue, keeping its prefix and number and carrying its place to that section's floor plan; prefix changes the identifier's prefix and keeps the number. Returns CONFLICT with refusal numberTaken when a table of the section it ends in already holds the prefix and number it ends with, and with refusal planFull when the target section's floor plan has no free cell. Returns BAD_REQUEST with refusal sectionRequired when sectionId is null: a table always stays in a section, so pass the target section's id instead; and with refusal prefixNeedsSection when a prefix would land on a table with no section, so pass sectionId with the prefix. 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
  - `tableId` string, required
  - `prefix` string
  - `number` integer
  - `capacity` integer
  - `sectionId` string, nullable
  - `label` string, nullable
  - `mode` 'menu_only' | 'menu_pay_after' | 'menu_tips' | 'menu_order_pay_after'

## Response `200`

OK

- unknown

---

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