Upvote or downvote reviews

Vote up or down on whether a particular review is helpful by review_id.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Supporting Undo Vote Actions

Using vote_type/up or vote_type/down will increase upvotes/downvotes count by 1, per click.

To add the ability to undo votes, where clicking the up/down vote asset cancels the vote action, post to the endpoints below:

👍Undo Upvote http://api.yotpo.com/reviews/{{review_id}}/vote/up/true

👎 Undo Downvote http://api.yotpo.com/reviews/{{review_id}}/vote/down/true

📘

Note:

The "id" in the response is an index that is incremented. It is not connected to the review_id.

Path Params
integer
required

The unique review identifier of the review you want to vote on

string
enum
required

The type of vote to cast. Use up to upvote or down to downvote. Each action changes the vote count by 1.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json