I'd like to standardise what error codes to return when.
And, responses back should be like the subscription:
Success:
{
"status": "success",
"message": "Unsubscription successful"
}
Failure:
{
"status": "failure",
"message": "Unsubscription failed"
}
I'd like to standardise what error codes to return when.
And, responses back should be like the subscription:
Success:
{ "status": "success", "message": "Unsubscription successful" }Failure:
{ "status": "failure", "message": "Unsubscription failed" }