Cancel Many Orders
POST
https://api.clore.ai/v1/cancel_ordersCan cancel all order types - on demand
, spot
, GigaSPOT
Request
Header Params
Content-Type
string
required
Example:
application/json
auth
string
required
clore.ai api token
Example:
NXj2bHUXHwzvd5-Lm6UfvgGtnNwaHxLu
Body Params application/json
order_ids
array[integer]
required
IDs of orders to cancel (up to 64 per request)
Example
{
"order_ids": [
542567
]
}
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
failed_to_cancel
array[string]
required
IDs of orders, that failed to cancel
code
integer
required
clore.ai status code
Example
{
"failed_to_cancel": [],
"code": 0
}
Last modified: 7 days ago