POST /api/public/v1/settings/updateBookingRules
Changed onReplaces all of a Location's booking rules; saved bookings keep the end they were made with. Refused with FORBIDDEN as bookingsDisabled while the location's Bookings or Tables switch is off. Refused with FORBIDDEN and refusal billingReadOnly once an overdue subscription's grace has run out, and subscriptionEnded once the business's verified base plan has ended with no eligible base in its place. Either refusal is lifted for this operation's category by an active plan grant whose plan allows it, which does not change the subscription's own standing.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
object required
locationId, string required
visitMinutes, integer required
tableDisplay, 'seated' | 'left' required
autoCancelEnabled, boolean required
autoCancelMinutes, integer required
lookAheadMinutes, integer required
reminderEnabled, boolean required
reminderMinutes, integer required
Response
OK
object required
visitMinutes, integer required
tableDisplay, 'seated' | 'left' required
autoCancelEnabled, boolean required
autoCancelMinutes, integer required
lookAheadMinutes, integer required
reminderEnabled, boolean required
reminderMinutes, integer required
Changes
- info
endpoint added
- info