Cancel Order

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

Attempt to cancel an order that was previously placed. The response will return successful if the cancel request is submitted. Use Get Order endpoint or subscribe to the orders websocket to get the order details.

Path Parameters

  • accountIdstringRequired
    The id of the trading account to retrieve
  • orderIdstringRequired
    The id of the order to retrieve

default Response

error string required
errorName string required
reqId string required