Skip to content

Delete Customer

Delete a customer record from Last Mile Intelligence.

deleteCustomer

customer

ParameterTypeRequiredDefaultDescription
Customer IDstringYes-The ID of the customer to delete
{
"success": true,
"message": "Customer deleted successfully",
"customerId": "cust_abc123"
}
{
"success": false,
"error": "Customer not found",
"customerId": "invalid_id"
}
  • 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