post https://api.lyra.finance/private/replace
Cancel an existing order with nonce or order_id and create new order with different order_id in a single RPC call.
If the cancel fails, the new order will not be created.
If the cancel succeeds but the new order fails, the old order will still be cancelled.
Required minimum session key permission level is admin