Economy v2 is now Generally Available. For support and feedback, go to the PlayFab Forum.
Review an item
A rating or review can be attached to an item by calling theReviewItem API from a client. In order for an item to be reviewed, it must be visible in the public catalog for all players. Ratings and reviews are attached to the player calling the API and only a single review per player can be associated with an item. The creator of an item can’t submit a review for their own item. The review is updated every time ReviewItem is called. The following data is required for the call:
Id: The unique ID of item that to be reviewed.Rating: A numeric rating the form of a1to5scale.
Title: The title for the review.ReviewText: A free text field for reviews.IsInstalled: A flag to indicate if the reviewer has the item.ItemVersion: The version number for the item being reviewed.
Submitted timestamp is automatically populated and updated when a review is submitted.
Get a player’s review for an item
You can get a player’s review for an item by calling theGetEntityItemReview API from a client. An item Id or AlternateId must be provided. A specific ReviewId associated with review will be returned.
GetEntityItemReview from a player who hasn’t made a review returns a Review object with zeroed values:
Get reviews for an item
You can access all the reviews containing text for an item by calling theGetItemReviews API. An item Id or AlternateId must be provided. Optional parameters can be added:
ContinuationToken: An opaque token used to retrieve the next page of items, if any are available.Count: Number of items to retrieve. Maximum page size is 200. If not specified, defaults to 10.OrderBy: An OData orderBy used to order the results of the query. Possible values areHelpfulness,Rating, andSubmitted.
Submit a helpfulness vote for a review
Players can submit a helpfulness vote for a review by calling theSubmitItemReviewVote API. Submitting a new helpfulness vote will increment HelpfulPositive or HelpfulNegative depending on the boolean value for the Vote parameter.
Report a review
Players can report a review by calling theReportItemReview API from a client. A ReviewId must be provided. An optional ConcernCategory parameter can be added.
ConcernCategory will default to None. The valid ConcernCategory values are as follows:
NoneOffensiveContentChildExploitationMalwareOrVirusPrivacyConcernsMisleadingAppPoorPerformanceReviewResponseSpamAdvertisingProfanity
ReportItemReview will only fire a PlayStream event under the Event Name, item_reported. Query using the Data Explorer in the Game Manager. Example queries can be seen below:
The following query returns The total number of reports by ConcernCategory per ItemId in the last 3 days
Takedown a review
You can submit a request to takedown one or more reviews using theTakedownItemReviews API. This API can only be called by the title entity. The call takes in a set of reviews that is to be taken down.
There can be a delay of up to 24 hours until a review is taken down due to the request processing
Ratings design and caching
We have two methods for getting ratings. The difference between the two paths is whether you’re interacting with the review directly or the catalog item.- We provide ratings directly (via
GetItemReviews, etc.) - We provide ratings aggregates in the catalog items (via
SearchItems, etc.)
Direct Ratings (GetItemReviews, etc.)
All these ratings and reviews are served directly. There are two categories of latency here.- Individual Reviews - Near Real Time
Individual reviews won’t be available immediately, but should show up within a few seconds. We expect that retrying with a back-off will be sufficient for reading a brand-new review. - Aggregate Ratings - Under 15 minutes There’s a cache for aggregates
Catalog Item Ratings (SearchItems, etc.)
All these ratings are served as part of the catalog item from our published catalog.- Aggregate Ratings - Under 8 hours
The system aggregates the ratings and pushes updates into the catalog. Updates can take 4 to 8 hours.
