POST /api/public/v1/bookings/reschedule

Changed on

Moves a booked booking to a new start, keeping its duration unless a new duration or end time is given, onto the host's table or joined tableIds, or else its own tables while free, or else the smallest free table that fits. Returns the booking with its warnings. Refused with CONFLICT as noTableFree or tableUnavailable, and with BAD_REQUEST as startInPast or invalidDuration. Refused with NOT_FOUND when there is no such booking, and with CONFLICT as transitionNotAllowed when its status does not allow the change or bookingChanged when someone changed it first. A booking already made stays reachable while the location's Bookings switch is off, the plan restricts Table Booking or the business is read-only or suspended. 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 URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
bookingId, string required
date, string date required
startTime, string required
durationMinutes, integer
endTime, string
tableId, string
tableIds, string[]

Response

OK

object required
booking, object required
warnings, string[] required

Changes