Update Terminal
Update an existing terminal in Last Mile Intelligence.
Operation
Section titled “Operation”updateTerminal
Resource
Section titled “Resource”terminal
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Terminal ID | string | Yes | - | The ID of the terminal to update |
| Terminal Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "term_chicago", "name": "Chicago Terminal - Main", "timezone": "America/Chicago", "updatedAt": "2024-06-21T10:30:00Z"}{ "success": false, "error": "Terminal not found", "terminalId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Terminal Not Found: Terminal with specified ID does not exist
- Geocoding Failed: Could not geocode the updated address
- Permission Denied: API token lacks permission for this operation