List the reviews a member received
const url = 'https://acme.mykreezalid.com/front_api/v1/reviews/user/4242?as=vendor&limit=25';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://acme.mykreezalid.com/front_api/v1/reviews/user/4242?as=vendor&limit=25'Returns the public reviews about a member, newest first: by default the reviews the member received as a vendor, or with as=customer the reviews of the orders the member placed. Reviews written by the member are left out. Each party of a review comes as their public profile. The list is not paginated: limit caps its length. Works without an access token. An unknown member, or one hidden from visitors, has no reviews.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
4242Identifier of the member.
Query Parameters
Section titled “Query Parameters”customer for the reviews about the member as a customer; any other value, or none, for the reviews about the member as a vendor.
Maximum number of reviews returned, at most 100.
Responses
Section titled “Responses”The reviews.
object
A review written after an order, by the customer about the vendor or by the vendor about the customer.
object
Unique identifier of the review.
Who wrote the review: 1 the customer, 2 the vendor.
Listing the review is about.
Identifier of the member who wrote the review.
Identifier of the vendor.
0 waiting to be written, 3 completed, 9 expired.
Whether the review stays hidden until the other party has reviewed too.
Rating, as a decimal number in a string.
Text of the review.
Public answer of the reviewed member.
Public profile of the customer; null when the member is hidden from visitors.
object
Another member, as anyone may see them.
Unique identifier of the member.
Name shown to other members, built from the member’s details according to the marketplace’s display settings.
URL of the member’s profile picture.
Public profile page of the member on the marketplace.
The member group (type of account) the member belongs to.
object
Name of the group.
Handle of the group.
Public profile of the vendor; null when the member is hidden from visitors.
object
Another member, as anyone may see them.
Unique identifier of the member.
Name shown to other members, built from the member’s details according to the marketplace’s display settings.
URL of the member’s profile picture.
Public profile page of the member on the marketplace.
The member group (type of account) the member belongs to.
object
Name of the group.
Handle of the group.
Example
{ "reviews": [ { "id": 4242, "role": 1, "status": 0, "note": "4.50", "customer": { "object": "User", "id": 4242, "public_name": "Jane D.", "profile_url": "https://acme.mykreezalid.com/s/a1b2c3d/jane-d", "group": { "object": "Group", "id": 12, "name": "Vendors", "alias": "vendors" } }, "supplier": { "object": "User", "id": 4242, "public_name": "Jane D.", "profile_url": "https://acme.mykreezalid.com/s/a1b2c3d/jane-d", "group": { "object": "Group", "id": 12, "name": "Vendors", "alias": "vendors" } } } ]}