Submits cancellation requests for the order IDs selected by the Client. A successful response means only that the cancellation requests were accepted; check the final state of each order through the order list, order details, or order push updates. On success, refresh the order list. On failure, show message and refresh the order list to confirm the actual state of each order.
Batch cancellation by order ID does not cancel conditional orders or trailing stop orders that have not triggered: the request succeeds and the orders stay open. Cancel those orders one at a time with Cancel Order (POST /v2/orders/withdraw).
When you call this operation through WhaleCore requestService(), set requiresTradeToken to true.
WhaleCore's orderService() wraps this endpoint as the typed method batchCancelOrdersByIds. If you use WhaleCore, prefer that method.