Cancel Order by Symbol
HTTP request Cancel Order by Symbol
- POST /api/v2/trade/cancel-symbol-order
Weight(IP): 5, Weight(UID): 8
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair. For details, view:/products | 
Request example
curl -X POST "https://api-spot.weex.com/api/v2/trade/cancel-symbol-order" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*" \
   -H "ACCESS-PASSPHRASE:*" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"symbol": "WXTUSDT_SPBL"
   }'
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| successList | Array | Successful orders array | 
| failureList | Array | Failed orders array | 
| > orderId | String | Order ID | 
| > errMsg | String | Error message | 
Response example
{
	"code": "00000",
	"msg": "success",
	"requestTime": 1743748830875,
	"data": {
		"successList": ["602926152964637114"],
		"failureList": [{
			"errMsg": "FAILED_ORDER_NOT_FOUND",
			"orderId": "602914146790408634"
		}]
	}
}