Update estimated time of arrival (ETA)
POST/truckers/deliveries/eta
This endpoint allows updating the estimated time of arrival (ETA) for an ongoing delivery.
Functionalities:
- Updates the ETA considering the remaining travel time
- Records fuel level and extra load if provided
- Automatically notifies the hiring company of the change
Use Cases:
- Adjusting ETA due to route delays (traffic, breakdowns)
- Updating estimation due to changes in average speed
- Reporting vehicle status (fuel, load)
Validations:
- Only works for deliveries in the 'collected' state
- The new ETA must be later than the current one
- Fuel level must be between 0-100
Request
Responses
- 200
- 400
- 401
- 404
ETA updated successfully.
Response Headers
Invalid request
Response Headers
Unauthorized
Response Headers
Not found