Defined and integrated api for getting ratings for a product.