---
title: "Cancel an order"
method: DELETE
path: "/shop/orders/{orderId}"
tags: ["Orders"]
---

# Cancel an order

`DELETE /shop/orders/{orderId}`

Cancels the order. Each line item is cancelled in turn — bookings
(appointments, area bookings, sessions, table reservations) are
cancelled and any held resources released; purchases (vouchers,
memberships, retail products) are voided; and any package items
follow the cancellation rules of their underlying components.
Payments remain attached to the order so they can be refunded
separately via `POST /shop/orders/{orderId}/payments/{paymentId}`
or absorbed into a credit note.

The cancellation is reversible for a short window via `POST
/shop/orders/{orderId}/restore`; once the order has aged past
that window or been settled, the only path back is to create a
fresh order.

## Response `204`

The order was cancelled successfully.

## Other responses

- `400` — The request failed.
- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
