---
title: "Remove a same-day draft order"
method: POST
path: "/api/public/v1/orders/remove"
---

# Remove a same-day draft order

`POST /api/public/v1/orders/remove`

## Request

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

Archives a draft order created on the current UTC date and still in new status, freeing any booking it held, and returns its id. The order disappears from lists but keeps its lines, payments and history and stays readable through orders.get; use orders.cancel for any other order. Refused with BAD_REQUEST for an order that is not a same-day draft or was already removed, with CONFLICT while it holds a pager that has not been returned, and with CONFLICT and refusal terminalPaymentLive while a terminal payment on it has not resolved. Refused with CONFLICT and the refusal orderShipped once a supplier's shipment order has shipped: what shipped is never changed. 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)
