POST /api/public/v1/bookings/availability
Changed onThe table a booking for this visit would get, or null when no free table fits, every table free for the whole visit that fits the party as tables, every table free for it whatever its seats as freeTables (the ones a join is made of; both smallest first, each with its sectionId), plus warnings such as outsideOpeningHours. A bookingId checks the visit for that stored booking, so the tables it holds read free, and answers them as table while they are free, whatever they seat. Writes nothing, and answers while the location's Bookings switch is off, so a booking already made can still be moved. Refused with BAD_REQUEST as startInPast or invalidDuration. 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
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the required property
freeTablesto the response with the status
- info
- info
added the new optional request property
bookingId - info
added the required property
table/anyOf[subschema #1]/sectionIdto the response with the status
1 more change in this revision
- info