Trading
Batch Cancel Orders (Combined)
Cancel open orders by either internal orderIds or client-provided clientOrderIds.
post/orders/batch-cancel
Request body
Example request
{
"orderIds": [
"6f52b6d2-6c9e-4a5c-8a4f-28ab4b7ff203"
],
"clientOrderIds": [
"partner-order-001",
"partner-order-002"
]
}Response
All orders successfully cancelled
Example response
{
"message": "Orders canceled successfully",
"canceled": [
"611badac-8dfc-48a0-b09e-59654adea1c5"
],
"failed": [
{
"orderId": "b53f0e4b-1529-45cc-ad39-e27f4c6eab5a",
"reason": "ORDER_NOT_FOUND",
"message": "Order not found or already canceled"
}
]
}Changes
Changed in 2 of the 32 revisions of this API.3
- ○
the endpoint scheme security
HmacAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
ApiKeyAuthwas removed from the APIapi-security-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○