updated rest api for eshop