Update an Answer

Changed on

Use this endpoint to update the answer content or make an existing answer public or private.

put/v2/{account_id}/questions/{question_id}/answers

Request

  • Base URL
    https://developers.yotpo.com
  • URL
    https://developers.yotpo.com/v2/{account_id}/questions/{question_id}/answers
  • Auth
    API key in header X-Yotpo-Token

Path parameters

account_idstring required

Your account's API app key

question_idstring required

The question's unique identifier. Can be retrieved using Retrieve All Questions

Request body

contentstring

The textual content of the answer to a question. Must update content or public values

publicboolean

True by default. Pass a value of false to make your answer visible solely to the reviewer who asked the question. Must update content or public values

Response

200

paginationunknown

Example response

{
  "status": {
    "code": 200,
    "message": "OK"
  }
}

Changes