Update Labor Rate
Update an existing labor rate in Last Mile Intelligence.
Operation
Section titled “Operation”updateLaborRate
Resource
Section titled “Resource”laborRate
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Labor Rate ID | string | Yes | - | The ID of the rate to update |
| Labor Rate Data | JSON | Yes | - | Fields to update |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "rate_standard", "name": "Standard Labor", "ratePerHour": 80.00, "overtimeMultiplier": 1.5, "updatedAt": "2024-06-21T10:30:00Z"}{ "success": false, "error": "Labor rate not found", "laborRateId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Labor Rate Not Found: Rate with specified ID does not exist
- Validation Error: Invalid data format in update fields
- Permission Denied: API token lacks permission for this operation