---
updatedAt: 2025-12-25T22:56:50.000Z
agentTools:
  projectIndex: https://integrate.route4me.com/llms.txt
---

# Delete Customer

Delete a customer. This endpoint allows you to delete a record including customer information, contact details, preferences, and account status.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Customer Management API",
    "contact": {
      "name": "Route4Me",
      "url": "docs.route4me.com",
      "email": "support@route4me.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "v5.0"
  },
  "servers": [
    {
      "url": "https://wh.route4me.com/modules/",
      "description": "Route4Me Staging API V5"
    },
    {
      "url": "https://wh.route4me.com/modules/",
      "description": "Route4Me API V5"
    }
  ],
  "paths": {
    "/api/v5.0/customers/{customer_id}": {
      "delete": {
        "tags": [
          "Modify Customers"
        ],
        "summary": "Delete a customer",
        "description": "Delete a customer",
        "operationId": "e44502a803dd24a61185b9d0370ce8cb",
        "parameters": [
          {
            "name": "customer_id",
            "in": "path",
            "description": "Id of the customer",
            "required": true,
            "schema": {
              "type": "string",
              "format": "hex32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "successful operation"
          },
          "404": {
            "$ref": "#/components/responses/Response404"
          },
          "406": {
            "$ref": "#/components/responses/Response406"
          },
          "500": {
            "$ref": "#/components/responses/Response500"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "properties": {
          "status": {
            "type": "boolean"
          },
          "code": {
            "type": "integer"
          },
          "exit_code": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "type": "object"
      },
      "ValidationErrorResponse": {
        "properties": {
          "status": {
            "type": "boolean"
          },
          "code": {
            "type": "integer"
          },
          "exit_code": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "messages": {
            "properties": {
              "validated_property": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "type": "object"
          },
          "validation_errors": {
            "properties": {
              "validated_property": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      }
    },
    "responses": {
      "Response404": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "Response406": {
        "description": "Unprocessable Content",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ValidationErrorResponse"
            }
          }
        }
      },
      "Response500": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyQueryAuth": []
    },
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Modify Customers",
      "description": "Endpoints for customer modification"
    }
  ]
}
```