Edit a table or move it to another section

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.

post/api/public/v1/tables/updateTable

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

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

OK

unknown required

Changes

No recorded changes to this operation across all 243 revisions of this API.