Cancel Trigger Order
- POST /capi/v2/order/cancel_plan
Weight(IP): 2, Weight(UID): 3
Request parameters
| Parameter | Type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair | 
| orderId | String | Yes | Order ID | 
Request example
curl -X POST "https://api-contract.weex.com/capi/v2/order/cancel_plan" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*" \
   -H "ACCESS-PASSPHRASE:*" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"symbol":"cmt_bchusdt","orderId":"596471064624628269"}'
Response parameters
| Parameter | Type | Description | 
|---|---|---|
| order_id | string | Order ID | 
| client_oid | string | Client identifier | 
| result | boolean | Whether the cancellation was successful | 
| err_code | Error code if the cancellation failed | |
| err_msg | string | Error message if the cancellation failed | 
Response example
{
	"order_id": "596480271352594989",
	"client_oid": null,
	"symbol": "cmt_bchusdt",
	"result": true,
	"err_code": null,
	"err_msg": null
}