younifyd
Menu

Vote On Answers

Vote on answers

POST/answers/{answer_id}/vote/{vote_type}

Use it in a workflow

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

Request

Path parameters

answer_idstringrequired

The ID of the answer

vote_typestringrequired

Vote type - `up` or `down`

Response

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

statusobject
codeinteger

Default 0

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

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