create an order rest api working