---
title: "Mark an own-rider delivery as delivered"
method: POST
path: "/api/public/v1/orders/markDelivered"
---

# Mark an own-rider delivery as delivered

`POST /api/public/v1/orders/markDelivered`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/orders/markDelivered`
- Auth: none declared

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 body

- object
  - `id` string, required

## Response `200`

OK

- unknown

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
