This endpoint retrieves reviews from various sources such as store, products and more.Payload#
The maximum number of items to return per page
The review's source, which could be one of the allowed enum values
Allowed values:allstorecategoriesproductsjson
The response data. If json
is selected, a payload must be passed in items
.
Response#
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
Alias for the content
variable
Whether or not the review is pending
Whether or not the review is associated with an order
Allowed values:storepageshipping
Usage#
The method getReviews
takes in 3 parameters: The maximum number of items to return per page per_page
, The review's source, type
, which could be one of the allowed enum values, as well as items
, which is the response data.Events#
The menu process may trigger two events during the menu process, reviewsFetched and reviewsFetchFailed.reviewsFetched#
This event will be triggered when the reviews are successfully fetched.reviewsFetchFailed#
This event will be triggered if there is an error during the fetching process. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20