added the new rest api from martin but without order details.

someone take a look at that please.
A few modifications.