Update Organization
Update an existing organization in Last Mile Intelligence.
Operation
Section titled “Operation”updateOrganization
Resource
Section titled “Resource”organization
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Organization ID | string | Yes | - | The ID of the organization to update |
| Organization Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "org_abc123", "name": "Midwest Fuel Distribution - Updated", "code": "MFD", "phone": "(312) 555-0200", "updatedAt": "2024-06-21T10:30:00Z"}{ "success": false, "error": "Organization not found", "organizationId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Organization Not Found: Organization with specified ID does not exist
- Validation Error: Invalid data format in update fields
- Permission Denied: API token lacks permission for this operation