GET
/api/v1/customer/swag-shop/products/{id}/reviews
This API method will list all reviews for a given swag item.
Sample Response
{
"status": true,
"total_rating": 12,
"total_reviews": 1,
"items": [
{
"id": "LZWBJx0PmYkEwjGdr2vO",
"customer_id": "LZWBJx0PmYkEwjGdr2vO",
"customer_avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/6?v=1534865107",
"customer_name": "Phil Colsen",
"comment": "Awesome Product!",
"rating": 12,
"created_at": "2018-09-17 09:48:11"
}
]
}{
"status": false,
"message": "There are no reviews for this item"
}