POST /api/public/v1/bookings/createSeries
Changed onBooks a visit on every chosen weekday from date through until on the series' table, as one series, for the picked customer if any. A booked one-off booking holding that table moves to the smallest other free table that fits it; a date the table cannot be cleared on is skipped. Returns what each date got. Refused with NOT_FOUND as customerUnavailable for a customer the organization does not hold, with CONFLICT as noTableFree when no date can be booked, or bookingChanged when a booking it moves changed first; and with BAD_REQUEST as startInPast or invalidDuration. 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. Refused with FORBIDDEN as featureRestrictedByPlan while the plan's current policy restricts Table Booking, or featureNotEntitled at an archived venue or under a plan with no policy. 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
endpoint added
- info