⚠️ This feature is available only for businesses subscribed to Review Management. ⚠️
All the operations to perform Reviews analytics.
This endpoint lets you view the statistics related to reviews made to your businesses subscribed to Review Management.
A request is composed of:
metrics which is the data you want to returndimensions which defines how the data is grouped by
order_by to define how the data is sortedHere is the list of all metrics available:
average_rating: Average ratingrating_distribution: Breakdown of the ratings (Number of 1-star reviews, 2-star reviews, 3-star reviews, etc…)reviews_count: Number of reviews receivedreply_time: Breakdown of the reviews based on how fast (less or more than 48 hours) they have been replied to (or not replied)reply_means: Breakdown of the review replies based on the reply method used (manual reply, reply template, auto reply or AI suggestion)average_rating_distribution: Breakdown of your businesses based on their average ratingrank: Allows you to rank the users, businesses or groups based on their performance on a metric (an order_by is required)Here is the list of all dimensions available, and for each of them, the list of metrics and sort order available:
average_rating, rating_distribution, reviews_count, reply_time, reply_means, average_rating_distributionday, week, month, year
average_rating, rating_distribution, reviews_count, reply_time, reply_meansbusiness, group
average_rating, rating_distribution, reviews_count, reply_time, reply_means, rankuser
reply_time, reply_means, ranktag
average_rating, rating_distribution, reviews_countHere is the list of all order_by available (Add a minus - sign before to order by decreasing order):
average_rating: Sort by average ratingreviews_count: Sort by review_countreply_time__total: Sort by number of reviews receivedreply_means__total: Sort by number of reviews that have been repliedratio__rating_distribution__5: Sort by the ratio of 5 star reviewsratio__rating_distribution__negative: Sort by the ratio of negative reviewsratio__reply_time__fast: Sort by the ratio of reviews replied in less than 2 daysratio__reply_time__slow: Sort by the ratio of reviews replied in more than 2 daysratio__reply_time__not_replied: Sort by the ratio of reviews not repliedratio__reply_means__manual: Sort by the ratio reviews replied manuallyratio__reply_means__ai_suggestion: Sort by the ratio reviews replied using AI suggestionratio__reply_means__reply_template: Sort by the ratio reviews replied using reply templateratio__reply_means__auto_reply: Sort by the ratio reviews replied using auto replyTo use an order_by parameter, its corresponding metric must be included in the request.
(i.e.
to order by average_rating, you must include the average_rating metric in the metrics parameter,
to order by ratio__rating_distribution__5, you must include the rating_distribution metric in the metrics parameter,
and so on…)
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
List of analytics to return. At least one in that list.
average_rating, rating_distribution, reviews_count, reply_time, reply_means, average_rating_distribution, rank How the returned data will be aggregated. If no dimension is given, the request will return the sum of each metric for all requested days and businesses.
day, week, month, year, business, group, user, tag See above for the list of all orders available. At most one in the list.
- before a field to order_by DESC, nothing for ASC"-average_rating"
Filter by business ids
Business id
Filter by all allowed businesses except the ones given in business__notin
Business id
Filter by groups ids
Group id
Restrict the data returned on reviews that have been assigned the specified tags.
Tag id
Restrict the data returned on reviews which update_date are after the given date.
Restrict the data returned on reviews which update_date are before the given date.
The page number you want to request.
x >= 1The maximum number of result items to return in a page.