Blacklist Customer
Add a customer to the blacklist.
Endpoint: POST /customers/blacklist
Request Parameters
Parameter
Type
Required
Description
string
Yes
Email of customer to be blacklisted
reason
string
Yes
Reason for blacklist
Example Request
curl -X POST https://service.roqqu.com/v1/customers/blacklist \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "email=jean@email.com" \
-d "reason=bad behaviour and ignorance"Example Response
{
"status": "success",
"message": "customer blacklisted successfully",
"data": 2
}Last updated