Skip to main content

How to: check reviews via API in RAY?

Ram贸n avatar
Written by Ram贸n
Updated over a year ago

馃挕 In order to consult the reviews it is necessary to have an API user and know the stores about which we want to consult.

Parameter

Description

pageNumber

page number, the first page is the

pageSize

number of results per page

from

date since in ISO format

to

date up to in ISO format

resetFromTime

send 'false'

companies

company id

stores

store ids, separated by %2C

Answer: list of reviews

{
"data": {
"items": [
{
"id": 8738288,
"score": 5,
"comment": "comment",
"date": 1652730477000,
"storeId": 3,
"companyId": 3,
"storeName": "RAY",
"storeWebsite": "www.rayapp.io",
"socialSourceId": 1,
"replyComment": null,
"replyTime": null,
"reviewerDisplayName": "Gonzalo Martinez",
"reviewerProfilePhotoUrl": "https://admin.botbit.io/static/img/avatars/noavatar.jpg",
"reviewerEmail": "3276865569105065@botbitmail.com",
"userId": 4128624,
"replierId": null,
"replierFullName": null,
"generatedBy": null,
"matchedByName": null,
"matchedByTimestamp": null,
"matchedWithoutStoreId": null,
"autoReplied": null,
"modifiedAfterReply": false,
"replyEdited": null
}
],
"pageNumber": 0,
"pageSize": 20,
"totalSize": 99,
"empty": false
},
"result": "success",
"message": "ok",
"statusCode": 200
}

馃搶 Important response fields

Field

Description

score

review rating, from 0 (bad) to 5 (excellent)

comment

comment

date

publication date

socialSourceId

review source

  • 1: RAY

  • 2: Google

  • 3: Facebook

userId

ID of the customer who left the review (for external Google or Facebook reviews this data does not always exist)

Related Posts:

Visit our Help Center , there you will find more information to continue learning about the platform.


What do you think of this article? 馃憞

Did this answer your question?