Delete several tables of a section

Deletes the named tables of the section, all or nothing, so their numbers return to its band. Returns NOT_FOUND when the section or any named table is not there, CONFLICT as tableHasOpenOrder while any of them has an open order, and CONFLICT as tableHasBooking while a Booked or Seated booking holds any of them; either way none is deleted. 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/deleteTables

Request

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

Request body

object required
locationId, string required
sectionId, string required
tableIds, string[] required

Response

OK

object required
ids, string[] required
sectionUpdatedAt, string date-time nullable required
previousSceneUpdatedAt, string date-time nullable required

Changes

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