Create several tables in a section

Creates count tables, all or nothing, numbered from the smallest free numbers of the section's band, or with a prefix from the smallest numbers free within the section and prefix; listSections' remainingTables says how many unprefixed tables still fit. Refused with CONFLICT as sectionFull when no number is free, as bandExhausted when fewer than count are, as planFull when no placements are given and the plan has too few free cells, and as numberTaken when a concurrent write took a number. 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/bulkCreateTables

Request

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

Request body

object required
locationId, string required
sectionId, string required
count, integer required
prefix, string
capacity, integer
mode, 'menu_only' | 'menu_pay_after' | 'menu_tips' | 'menu_order_pay_after' required
placements, object[]
rows, object[]

Response

OK

unknown required

Changes

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