Cancel Order

put/api/prime/trading/v1/accounts/{accountId}/orders/{orderId}/cancel

Submits a request to cancel a previously placed order. The successful response confirms the request submission only, not the final order cancellation. Use the Get Order endpoint or the orders websocket to confirm the final order status.

Path Parameters

  • accountIdstringRequired
    The ID of the account
  • orderIdstringRequired
    The ID of the order to cancel. This is the value of the ID field returned when the order was created.

default Response

error string required
errorName string required
reqId string required