Create an Answer
Changed onPosts the store's answer to a question by question_id. A question takes one answer from the store: if it already has one, the call returns 400 with Answer already exist.
post/v2/{account_id}/questions/{question_id}/answers
Request
- Base URLhttps://developers.yotpo.com
- URLhttps://developers.yotpo.com/v2/{account_id}/questions/{question_id}/answers
- AuthAPI 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
Response
200
Example response
{
"status": {
"code": 200,
"message": "OK"
},
"answer": {
"id": "13",
"content": "mr shop owner",
"public": true,
"answerer": {
"id": "8315"
}
}
}Changes
- info
endpoint added
- info