Cancel batch of orders by order IDs
Queues cancellation for multiple orders by providing identifiers in a batch.
The request body can contain either or both of:
order_ids: Array of order IDs assigned by Paradexclient_order_ids: Array of client-assigned order IDs
Returns a 200 OK status code with detailed results for each order:
Each result includes:
id: Order ID (if the order was found)client_id: Client order ID (if available)account: Account that owns the ordermarket: Market of the orderstatus: One of:QUEUED_FOR_CANCELLATION: Order was successfully queued for cancellationALREADY_CLOSED: Order was already in a closed stateNOT_FOUND: The order with the provided ID/client ID was not found
Confirmation of cancellation will be sent via websocket or can be verified from GET /orders/:id endpoint.
Orders that are already in a CLOSED state will be included in the response with status “ALREADY_CLOSED”.
Authentication
Authorizationstring
API Key authentication via header
Request
Order IDs to cancel
client_order_ids
List of client order IDs to cancel
order_ids
List of order IDs to cancel
Response
List of cancellation results
results
List of cancellation results
Errors
400
Bad Request Error