# Cancelling an order

In this chapter you will learn how to cancel orders.

Orders of all types (`MARKET`, `LIMIT`, and `STOP`) can be cancelled in status `NEW` and `PROCESSING`. For partially executed orders, only the unfilled quantities of existing orders will be cancelled.

To cancel an existing order, call the cancellation endpoint with the appropriate order ID, using

**DELETE** [`/orders/{order_id}`](/api/orders/cancel_order)

Attempt to cancel `LIMIT` or `STOP` orders in `FILLED` state will be rejected.
`ORDER_CANCELLATION.REJECTED` webhook will be sent in cases like that (see also [API Reference](/api/orders/order_cancellation_event)).