younifyd
Menu

Vote On Reviews

Upvote or downvote reviews

POST/reviews/{review_id}/vote/{vote_type}

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Vote On Reviews action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{voteOnReviews.response.data}}.

Request

Path parameters

review_idstringrequired

The review id of the review you want to add vote to

vote_typestringrequired

Vote type - `up` or `down`. Each click brings vote count up or down by one.

Response

Returns 200 with an object. Read it in later steps with {{voteOnReviews.response.data.<field>}}.

statusobject
codeinteger

Default 0

messagestring
responseobject
voteobject1 fields
json
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "response": {
    "vote": {
      "id": 10
    }
  }
}

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.