Skip to main content
POST
/
orders
/
cancel
Cancel Order (Combined)
curl --request POST \
  --url https://api.limitless.exchange/orders/cancel \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "orderId": "6f52b6d2-6c9e-4a5c-8a4f-28ab4b7ff203",
  "clientOrderId": "partner-order-001"
}
'
{
  "message": "Order canceled successfully"
}

Documentation Index

Fetch the complete documentation index at: https://limitless-docs-ws-settlement-events.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Cancel one order by either the internal orderId or the clientOrderId supplied when creating the order. Provide exactly one identifier. Requests with both identifiers or neither identifier return 400 Bad Request.
DELETE /orders/{orderId} remains supported for existing integrations that cancel only by internal order ID.

Authorizations

X-API-Key
string
header
required

API key for programmatic access. Generate at limitless.exchange -> profile menu -> Api keys.

Body

application/json
orderId
string<uuid>
required

Internal order ID. Provide exactly one of orderId or clientOrderId.

Example:

"6f52b6d2-6c9e-4a5c-8a4f-28ab4b7ff203"

clientOrderId
string

Client-provided order ID from order creation. Provide exactly one of orderId or clientOrderId.

Maximum string length: 128
Example:

"partner-order-001"

Response

Order successfully cancelled

message
string
required

Confirmation message for the cancelled order

Example:

"Order canceled successfully"