POST /api/public/v1/shifts/close
Closes the location's open shift, ending every participation and archiving its unpaid drafts; a buyer's unshipped request is released to no shift instead, for the next shift opened there to take. Refused with UNPROCESSABLE_CONTENT while an order is still in progress, and with UNPROCESSABLE_CONTENT and refusal terminalPaymentLive while a terminal payment on one of its orders has not resolved; finish or re-check that payment first. An already closed shift is refused with BAD_REQUEST. 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
No recorded changes to this operation across all 243 revisions of this API.