Customer - Disable Account

/disable
Full Url:
Arguments:
  • token (required)
  • customer_id (required)
Info: You can only disable customers that have a user_status of "active". Otherwise, though, they're kind of already inactive..
Example Success
{
"code": 200,
"status": "success",
"data": "Successfully disabled customer"
}
Example Error
{
"code": 200,
"status": "error",
"data": "Invalid customer id"
}