Trips
Record stop departure
Record the departure timestamp on a trip stop by trip and stop ID, marking when the driver left the shipper or consignee location for the next stop.
PUT
Record stop departure
Record Stop Departure
Records the departure time for a specific stop within a trip. This endpoint marks the stop as departed and updates the stop’sDepartedAt timestamp.The
DepartedAt field is required and must be an ISO 8601 date/time. A value sent without a UTC offset is read as the stop’s local time.
Accepted formats.
yyyy-MM-dd, optionally followed by THH:mm, THH:mm:ss, or fractional seconds, and optionally a Z or ±hh:mm offset. A value in any other format — including MM/dd/yyyy — is rejected with 400 and the offending field named.Endpoint
Request Parameters
Request Body
Example Request Body
Example CURL request
{version}with the API version (for example1){tripId}with the actual trip ID{stopId}with the stop IDYOUR_ACCESS_TOKENwith your Bearer token
Response Parameters
Example Response
Status Codes
Rate Limits
All endpoints are subject to API rate limits to ensure service stability and protect against traffic spikes. Refer to the Rate Limits documentation for more information.Authorizations
OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.
Path Parameters
API version (e.g., 1.0)
Example:
"1.0"
Body
Response
OK
- Option 1
- Option 2
- Option 3
Type discriminator for polymorphic serialization
Estimated time of arrival at this stop. Null when no estimate exists.