Delete Customer
Delete a customer record from Last Mile Intelligence.
Operation
Section titled “Operation”deleteCustomer
Resource
Section titled “Resource”customer
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Customer ID | string | Yes | - | The ID of the customer to delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "message": "Customer deleted successfully", "customerId": "cust_abc123"}{ "success": false, "error": "Customer not found", "customerId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Customer Not Found: Customer with specified ID does not exist
- Has Dependencies: Customer has associated orders or other records
- Permission Denied: API token lacks permission for this operation