Cancelling an order
Portfolio orders can only be cancelled whilst in the NEW
state.
To cancel an existing order, send the following request using the portfolio_order_id
of the order you want to cancel:
DELETE /portfolios/orders/{portfolio_order_id}
Upon successful cancellation of any portfolio order, you will receive a webhook notifying you about the cancellation.