Skip to content

Update Customer

Update an existing customer record in Last Mile Intelligence.

updateCustomer

customer

ParameterTypeRequiredDefaultDescription
Customer IDstringYes-The ID of the customer to update
Customer DataJSONYes-Fields to update
{
"id": "cust_abc123",
"name": "Acme Corporation Updated",
"accountNumber": "ACME-001",
"email": "newemail@acme.com",
"status": "active",
"updatedAt": "2024-06-21T10:30:00Z"
}
{
"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
  • Validation Error: Invalid data format in update fields
  • Permission Denied: API token lacks permission for this operation