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

curl --location --request GET 'https://api.aikey.io/v1/reviews/get' \
--header 'X-CLIENTID: ClientId' \
--header 'X-SECRET: ClientSecret' \
--header 'Content-Type: text/plain' \
--data-raw '{
	"userId": "U.5dce535fdafa85.72034206",
	"sessionId": "S.5e0bb971a9a1b0.02111481",
	"sku" : "sku-123"
}'

Amount

Total amount of reviews registered in AIKEY.

Score

Total calculated score from reviews.


Register Review

curl --location --request POST 'https://api.aikey.io/v1/reviews/add' \
--header 'X-CLIENTID: ClientId' \
--header 'X-SECRET: ClientSecret' \
--data-raw '{
	"userId": "User Id",
	"sessionId": "Session Id",
	"sku" : "sku-123",
	"score" : 50
}'