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

POST

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

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

Request Parameters

Parameter

Value / Type

Required

manufacturer_id

STRING

true

purchase_id

STRING

true

rating

INTEGER ( 0 to 100 )

true

comment

STRING (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"
}