---
title: "Cancel order"
method: POST
path: "/v4/mm/cancel_order"
tags: ["order"]
---

# Cancel order

`POST /v4/mm/cancel_order`

cancel an order

## Request body

- MarketMakerCancelOrderRequest
  - `external_id` string
  - `order_id` string

## Response `200`

OK

- MarketMakerCancelOrderResponse
  - `data` object
    - `success` boolean

## Other responses

- `400` — Given Param is not valid, this order does not belong to user id or external id must matches with existing order
- `401` — Unauthorized
- `404` — Your requested data is not found or order is cancelled
- `500` — Internal server error

---

[API](https://skmtc.net/prophetx/apis/external-market-maker-api.md) · [All operations](https://skmtc.net/prophetx/apis/external-market-maker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prophetx/external-market-maker-api/versions/cf6d43de1db2/schema)
