Menu
Retrieve Questions And Answers For A Product
Retrieve Q&A for a product
GET
/products/{app_key}/{sku}/questionsUse it in a workflow
- Add a step and choose the Yotpo connector.
- Pick the Retrieve Questions And Answers For A Product action (under Reviews & Ratings).
- Fill in the fields below, then reference the result from later steps as
{{retrieveQuestionsAndAnswersForAProduct.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{retrieveQuestionsAndAnswersForAProduct.response.data.<field>}}.
{
"status": {
"code": 200,
"message": "OK"
},
"response": {
"total_questions": 2,
"total_answers": 2,
"questions": [
{
"id": 4682,
"content": "Can I use the camera with gloves?",
"asker": {
"id": 1009196,
"display_name": "john carter",
"slug": "john-carter",
"social_image": "https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png",
"is_social_connected": false,
"bio": null,
"score": 0,
"badges": [
null
]
},
"user_type": "User",
"created_at": "2014-07-01T14:30:01.173Z",
"sorted_public_answers": [
{
"id": 15421,
"content": "You can, as long as they are not too thick",
"store_owner_comment": true,
"answerer": {
"id": null,
"display_name": null,
"slug": null,
"social_image": null,
"is_social_connected": null,
"bio": null,
"score": null,
"badges": null
},
"votes_up": 0,
"votes_down": 1,
"created_at": "2014-07-01T14:30:58.673Z"
}
]
}
]
}
}
Need more? See the Yotpo guide for connection setup and behaviour shared by every action.
Was this page helpful?