/api/p/v{version}/trips/{tripId}/stops/{stopId}/arrival

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint marks the stop as arrived and updates the stop’s ArrivedAt timestamp.
If an arrival time is provided in the request body, that value will be used. Otherwise, the system records the current UTC time.

The response returns the updated stop object.


Endpoint

PUT /api/p/v{version}/trips/{tripId}/stops/{stopId}/arrival

Request Parameters

ParameterTypeRequiredDescription
versionstringYesAPI version (e.g. 1.0).
tripIdstringYesUnique identifier of the trip.
stopIdstringYesUnique identifier of the stop.

Request Body

FieldTypeRequiredDescription
ArrivedAtstring (datetime)NoArrival timestamp in ISO-8601 UTC format. If not provided, the system records the current UTC time.

Example Request Body

{
  "ArrivedAt": "2026-03-16T12:34:30.277Z"
}

Example CURL request

curl --location --request PUT 'https://integrations.alvys.com/api/p/v1/trips/{tripId}/stops/{stopId}/arrival' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
  "ArrivedAt": "2026-03-16T12:34:30.277Z"
}'

Response Parameters

ParameterTypeDescription
idstringUnique identifier of the stop.
address.streetstringStreet address of the stop location.
address.citystringCity of the stop location.
address.statestringState of the stop location.
address.zipCodestringZIP code of the stop location.
appointmentConfirmedbooleanIndicates whether the appointment has been confirmed.
appointmentDatestring (datetime)Appointment date and time for the stop.
appointmentRequestedbooleanIndicates whether an appointment has been requested.
arrivedAtstring (datetime)Timestamp when the stop was marked as arrived (UTC).
departedAtstring (datetime)Timestamp when the stop was departed (UTC).
scheduleTypestringSchedule type (APPT or FCFS).
loadingTypestringLoading type (Live, Drop, Hook, etc.).
stopTypestringType of stop (Pickup, Delivery, Waypoint).
statusstringOperational status of the stop.
coordinates.latitudestringLatitude of the stop location.
coordinates.longitudestringLongitude of the stop location.
references[]arrayList of references associated with the stop.
references[].idstringReference identifier.
references[].referenceIdstringExternal reference identifier.
references[].namestringName of the reference field.
references[].valuestringValue of the reference.
references[].typestringType of reference.
references[].accessstringAccess level.
references[].originstringOrigin of the reference.
companyIdstringIdentifier of the company associated with the stop.
companyNumberstringCompany registration or identification number.
companyNamestringCompany name associated with the stop.

Example Response

{
  "AppointmentRequested": true,
  "AppointmentConfirmed": true,
  "AppointmentDate": "2026-03-16T12:34:30.277Z",
  "ScheduleType": "string",
  "LoadingType": "string",
  "Id": "string",
  "Address": {
    "Street": "string",
    "City": "string",
    "State": "string",
    "ZipCode": "string"
  },
  "Coordinates": {
    "Latitude": "string",
    "Longitude": "string"
  },
  "Status": "string",
  "StopType": "string",
  "ArrivedAt": "2026-03-16T12:34:30.277Z",
  "DepartedAt": "2026-03-16T12:34:30.277Z",
  "References": [
    {
      "Id": "string",
      "ReferenceId": "string",
      "Name": "string",
      "Value": "string",
      "Type": "string",
      "Access": "string",
      "Origin": "string"
    }
  ],
  "CompanyId": "string",
  "CompanyNumber": "string",
  "CompanyName": "string"
}

Status Codes

Status CodeDescription
200 OKStop arrival successfully recorded.
400 Bad RequestInvalid request body or timestamp format.
404 Not FoundTrip or stop could not be found.

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.

Path Params
string
required
string
required
string
required
Defaults to 1.0
Body Params
string
required
Headers
string
enum
Defaults to application/json
Allowed:
string
enum
Defaults to application/json-patch+json
Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json