Retrieve the Bottom Line for a given product using the product SKU number. The Bottom Line will return the total questions and total answers for the desired product.
GET https://api.yotpo.com/products/YOUR_APP_KEY/1234/qna_bottomline
{
status:{
code:200,
message:"OK"
},
response:{
total_questions:7,
total_answers:9
}
}
{
"status": {
"message": "Feature is disabled questions_and_answers",
"code": 401,
"error_type": "Exceptions::FeatureDisabled"
}
}
PATH PARAMS
Parameter | Type | Description |
---|---|---|
app_key* | string | Your Yotpo account API key |
SKU* | string | The ID of the product on your site |