Upvote or downvote reviews

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

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.

Language