Skip to content

Batch Cancel Orders

Batch cancel orders

Http Request

POST
/api/v1/spot/batch_cancel_order

Request Frequency Restriction:

  • 1times / 1second

Postman

pay attention to replace "restful_base_endpoint"、"your_api_key"、"your_signature_result"

curl --location 'restful_base_endpoint/api/v1/spot/batch_cancel_order' \
--header 'ACCESS-KEY: your_api_key' \
--header 'ACCESS-SIGN: your_signature_result' \
--header 'ACCESS-TIMESTAMP: 1706758995.308' \
--header 'Content-Type: application/json' \
--data '{
    "orderIds":["2526020132665339904","2526020133130907648"]
}'

Request Parameters

Name Type Mandatory Description
orderIds list YES order id list.

Response fields description

Name Type Description
order_id string cancelled order ID

Response

{
  "code":200,
  "data":[
    {
      "order_id":"2257617165715357696",
      "code":"200",
      "message":""
    },
    {
      "order_id":"2257617165786660864",
      "code":"200",
      "message":""
    }
  ]
}