Retrieve Questions and Answers for a Product

Retrieve Questions and Answers for a given product using the product SKU number.

GET https://api.yotpo.com/products/YOUR_APP_KEY/1234/questions
{
    "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": []
                },
                "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": 1002730,
                            "display_name": "David davidson",
                            "slug": "vladi-testing",
                            "social_image": null,
                            "is_social_connected": false,
                            "bio": null,
                            "score": 16,
                            "badges": [
                                {
                                    "id": 1,
                                    "name": "Newbie",
                                    "description": "Hooray, you wrote your first review with Yotpo! Now you have this cool profile page, and you can earn Yotpo score and have even more badges.",
                                    "image_100": "http://s3.amazonaws.com/yotpo-static-images/badges/100/1.png",
                                    "image_300": "http://s3.amazonaws.com/yotpo-static-images/badges/300/1.png"
                                }
                            ]
                        },
                        "votes_up": 0,
                        "votes_down": 1,
                        "created_at": "2014-07-01T14:30:58.673Z"
                    }
                ]
            }
        ]
    }
}
{
    "status": {
        "message": "Feature is disabled questions_and_answers",
        "code": 401,
        "error_type": "Exceptions::FeatureDisabled"
    }
}
{
"status":{
"message":"Couldn't find Account with app_key = PdFT1iSNcIZr5EOmLUeDZvZV1Wx3mLa"
"code":404
"error_type":"Exceptions::RecordNotFound"
}
}
{
"status":{
"message":"Couldn't find ProductsApp with domain_key = 20122"
"code":404
"error_type":"Exceptions::RecordNotFound"
}
}

PATH PARAMS

ParameterTypeDescription
app_key*stringYour Yotpo account API key
sku*stringThe unique ID of the product on your site (does not have to be the SKU)

You can retrieve the answer_id from sorted_public_answers

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