Vote on Answers

Vote up or down on a particular answer to a question by answer_id.

POST https://api.yotpo.com/answers/1234/vote/down
{
 "status": {
   "code": 200,
   "message": "OK"
 },
 "response": {
   "vote": {
     "id": 11 //incremental vote id
   }
 }
}
{}

PATH PARAMS

ParameterTypeDescription
answer_id*stringThe ID of the answer
vote_type*stringVote type - up or down

📘

Please note:

Retrieve an answer_id param by utilizing the Retrieve Questions and Answers for a Product endpoint. Your answer_id will appear as such:

"sorted_public_answers": [
                    {
                        "id": 15421,

📘

Please note:

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