put https://example.com/api/v1/managed/orders//cancel
Cancels an order with given order ID (note: once you submit a cancellation request it cannot be undone).
Be advised that orders with a status of PENDING_FILL
, PENDING_ESCROW
, FILLED
, REJECTED
, or CANCELLED
cannot be cancelled.
You can check the status of the order by calling the GET /managed/orders/<order_id>
endpoint.