Added an endpiont to inactivate orders.