Reviews

AIKI can be integrated with your existing reviews system, or if you do not have AIKI provide you with the basic functionality to let your users set a score and display the score on your products. This also of course is taken in account in the product recommendations and personalisation.


Get Reviews Data

Aikey.reviews.get({
    sku: "product-id-abc-123"
  }, function(data){
        //Callback function
});

Response
{
  score: 0,
  amount: 0,
  user: {
    hasReviewed: false,
    score:0
  }
}

Amount

Total amount of reviews registered in AIKEY.

Score

Total calculated score from reviews.


Register Review

Aikey.reviews.add({
  sku: "abc-123",
  score: 80
}, function(){
  // callback
});