[API] Improved the params in orders api actions