---
search:
  tags:
    - Orders
    - DELETE
seo:
  description: >-
    Cancels an order by setting its status to… Reference for the DELETE
    /api/v1/{team_slug}/{app_slug}/orders/{order_id} endpoint in the Management
    API.
sidebar:
  label: Cancel order
  badge: DELETE
title: Cancel order
type: openapi-operation
---
Cancels an order by setting its status to 'cancelled'. The order remains retrievable and a history entry is created. Publishes an order cancelled event.

`DELETE /api/v1/{team_slug}/{app_slug}/orders/{order_id}`

**Responses**

- `200` — Order cancelled successfully
- `400` — Invalid order ID format
- `401` — Unauthorized access
- `404` — Order not found
- `500` — Internal server error

Response example, 200:

```json
{
  "data": {
    "message": "string"
  },
  "details": [
    "string"
  ],
  "success": true
}
```
