implement order products api and close #4