Update Customer Profile
Update an existing customer billing profile in Last Mile Intelligence.
Operation
Section titled “Operation”updateCustomerProfile
Resource
Section titled “Resource”customerProfile
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Profile ID | string | Yes | - | The ID of the profile to update |
| Profile Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "prof_abc123", "customerId": "cust_xyz789", "name": "Updated Profile Name", "paymentTerms": "Net 45", "creditLimit": 75000, "updatedAt": "2024-06-21T10:30:00Z"}{ "success": false, "error": "Profile not found", "profileId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Profile Not Found: Profile with specified ID does not exist
- Validation Error: Invalid data format in update fields
- Permission Denied: API token lacks permission for this operation