Mark an own-rider delivery as delivered
Records that an own-rider delivery order was delivered, activating it if needed and completing it, and returns its id. An order already marked delivered is left unchanged, so a retry is safe. Refused with BAD_REQUEST for an order that is not an own-rider delivery, or one that is cancelled. An unpaid order with a line a pass redeems is refused with BAD_REQUEST as passRedemptionUnpaid: take its payment, at AED 0 when the pass covers all of it, so the guest's code is asked and the use is counted. Refused with shiftClosed once the order's shift has closed (FORBIDDEN; BAD_REQUEST when creating under it) and with FORBIDDEN notShiftParticipant for a caller not taking part in the shift. 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.