Update estimated time of arrival (ETA)
POST/truckers/deliveries/eta
This endpoint allows updating the estimated time of arrival (ETA) for an in-progress 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:
- Adjust ETA due to route delays (traffic, breakdowns)
- Update estimation due to changes in average speed
- Report vehicle status (fuel, load)
Validations:
- Only works for deliveries in the 'collected' status
- 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 correctly
Invalid request
Unauthorized
Not found