api/v1/customer/swag-shop/products/{id}/add-review

POST

/api/v1/customer/swag-shop/products/{id}/add-review

This API method allows the customer to create a review for the swag item.

Request Parameters

ParameterValue / TypeRequired
store_idSTRINGtrue
purchase_idSTRINGtrue
ratingINTEGER ( 0 to 100 )true
commentSTRING (max: 100)true

Sample Response

{
    "status": true,
    "message": "Successfully added review for this item"
}
{
    "status": false,
    "message": "You have already added a review for this item"
}
{
    "status": false,
    "message": "You have not purchased this item. Review cannot be added."
}
{
    "status": false,
    "message": "There was an issue adding this review"
}