API: Delete Customer

Request

Soft delete a specific Customer by ID:

DELETE /customers/{id}

Sample Response:

                    
{
    "status": "success",
    "message": "Customer deleted successfully"
}
                    
                

Notes:

  • The customer ID is required in the URL to specify which customers to delete.
  • If the customer does not exist, the API will return an error response.