Cancel Order (TRADE)
- DELETE
/api/v3/order
Weight(IP): 1, Weight(UID): 1
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| orderId | Long | Conditional | Order ID to cancel. Required when origClientOrderId is not supplied. |
| origClientOrderId | String | Conditional | Client order ID to cancel. Required when orderId is not supplied. |
Request example
curl -X DELETE "https://api-spot.weex.com/api/v3/order?symbol=BTCUSDT&orderId=702345678901234567" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
| Field | Type | Description |
|---|---|---|
| orderId | Long | Cancelled order ID. |
| status | String | Final status (e.g. CANCELED). |
Response example
{
"orderId": 702345678901234567,
"status": "CANCELED"
}