younifyd
Menu

Creating Votes For A Review

Creating Votes for a Review

POST/reviews/{review_id}/vote/{type}

Use it in a workflow

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

Request

Path parameters

review_idstringrequired

ID of review you want to add vote to

typestringrequired

Type of vote: up or down

Response

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

statusobject
codeinteger

Default 0

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

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

Was this page helpful?