Cancel Order by Client ID
TRADING
channel in order to send trading messages.Note
client_id
, only the most recent will be cancelled with this request. It is your responsibility to ensure uniqueness in your client_ids.Cancel Order by Client ID Request
{
"type": "CANCEL_ORDER",
"client_id": "8fd80590-4679-4e7d-9ef9-4346dadb5c8f"
}
CancelOrderClientIdRequest
type
enum<string>
required
Allowed value:
CANCEL_ORDER
client_id
string <uuid>
required
Cancel Order by Client ID Response
Error
Order not found
{
"error": "ORDER_NOT_FOUND",
"client_id": "8fd80590-4679-4e7d-9ef9-4346dadb5c8f"
}
Invalid Client ID
{
"error": "CLIENT_ID_ERROR",
"payload": {
"type": "CANCEL_ORDER",
"client_id": "not valid"
}
}