validate params of orders api