API Guide Items- Customers - Delete a Customer

Customers - Delete a Customer

DELETE yourdomain.com/api/delete/customers/:id

Header

json
Field Type Description
Authorization String

Basic Access Authentication token.

Parameter

json
Field Type Description
id Number

Customer unique ID.

Success 200

json
Field Type Description
status String

Request status.

message String

Customer Delete Successful.

Error 4xx

json
Name Type Description
status Boolean

Request status.

message String

Customer Delete Fail.

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Customer Delete Successful."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Customer Delete Fail."
}

Did you find this article useful?