Skip to main content
POST
/
order
/
{orderId}
/
cancel
Cancel a limit order
curl --request POST \
  --url https://api.example.com/order/{orderId}/cancel \
  --header 'Content-Type: application/json' \
  --data '
{
  "authorization": {
    "signature": "<string>",
    "deadline": 2
  }
}
'
{
  "orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "accepted": true,
  "cowOrderUid": "<string>"
}

Path Parameters

orderId
string<uuid>
required

The public order ID

Body

application/json

Request to cancel an authenticated limit order using an EIP-712 authorization signature

authorization
CancelAuthorization · object
required

Typed-data authorization for order cancellation

Response

Cancellation request accepted

Acknowledgement that a cancel request was accepted

orderId
string<uuid>
required

The public order ID from the router API

accepted
boolean
required

Whether the downstream cancellation request was accepted

cowOrderUid
string

The downstream CoW order UID when available