---
title: "Cancel a booking order that is neither cancelled nor completed"
method: DELETE
path: "/booking/orders/{orderId}"
tags: ["Booking"]
---

# Cancel a booking order that is neither cancelled nor completed

`DELETE /booking/orders/{orderId}`

The booking order with specified `orderId` will be cancelled, if its status is neither `cancelled` nor `completed`.

> IMPORTANT:
>
> Calling this endpoint does not cancel a `completed` booking order, i.e. a booking order that is already paid. It certainly does not provide any refund because it can only cancel a booking order that is not already paid.

## Path parameters

- `orderId` string, required — UUID

## Response `200`

OK

- BaseResponse
  - `message` string — message returned by server side if there is any

## Other responses

- `400` — Bad Request
- `404` — Not Found

## Changes

- **2021-11-12** `c3e56ec8db70` — 1 info
  - endpoint added
- **2021-07-20** `704267da2188` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/changes/booking/orders/:orderId/delete.md)

---

[API](https://skmtc.dev/newpathfly/apis/virtual-interlining-api.md) · [All operations](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newpathfly/virtual-interlining-api/revisions/5e3990fa16fa/schema)
