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

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

Each stop contains scheduling information, location details, operational timestamps (arrival and departure), and optional references such as PO numbers or other identifiers.

Endpoint

GET /api/p/v{version}/trips/{tripId}/stops

Request Parameters

The following parameters are required in the URL path:

ParameterTypeRequiredDescription
versionStringYesThe API version to use.
tripIdStringYesUnique identifier of the trip.

Example CURL request

curl --location 'https://integrations.alvys.com/api/p/v1/trips/{tripId}/stops' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Replace:

  • {version} with the API version (for example 1)
  • {tripId} with the actual trip ID
  • YOUR_ACCESS_TOKEN with your Bearer token

Example:

curl --location 'https://integrations.alvys.com/api/p/v1/trips/000c3a9bf0000000bf000d000e000a0b/stops' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ...'

Response Parameters

ParameterTypeRequiredDescription
idstringYesUnique identifier of the stop.
address.streetstringNoStreet address of the stop location.
address.citystringNoCity of the stop location.
address.statestringNoState of the stop location.
address.zipCodestringNoZIP code of the stop location.
appointmentConfirmedbooleanNoIndicates whether the appointment has been confirmed.
appointmentDatestring (datetime)NoAppointment date/time when scheduleType = APPT.
appointmentRequestedbooleanNoIndicates whether an appointment has been requested.
arrivedAtstring (datetime)NoTimestamp when the stop was arrived at (UTC).
companyIdstringNoUnique identifier of the company associated with the stop.
companyNamestringNoName of the company associated with the stop.
companyNumberstringNoCompany registration or identification number.
coordinates.latitudestringNoLatitude of the stop location.
coordinates.longitudestringNoLongitude of the stop location.
departedAtstring (datetime)NoTimestamp when the stop was departed from (UTC).
loadingTypestringNoLoading type at the stop (for example Live, Drop, Hook, Drop&Hook).
references[]arrayNoList of references associated with the stop.
references[].accessstringNoAccess level of the reference (Internal, Public).
references[].idstringNoUnique identifier of the reference.
references[].namestringNoName of the reference field.
references[].originstringNoOrigin of the reference (for example Manual, Integration).
references[].referenceIdstringNoExternal reference identifier.
references[].typestringNoReference type (for example Text, Date).
references[].valuestringNoValue of the reference.
scheduleTypestringNoSchedule type of the stop (APPT or FCFS).
statusstringNoCurrent operational status of the stop.
stopTypestringNoType of stop (for example Pickup, Delivery, Waypoint).
stopWindow.beginstring (datetime)NoStart of the delivery window when scheduleType = FCFS.
stopWindow.endstring (datetime)NoEnd of the delivery window when scheduleType = FCFS.
$typestringNoPolymorphic type discriminator for the stop representation (appointment, delivery_window, waypoint).

Example Response

[
  {
    "appointmentRequested": true,
    "appointmentConfirmed": true,
    "appointmentDate": "2026-03-16T11:05:40.106Z",
    "scheduleType": "APPT",
    "loadingType": "Live",
    "id": "string",
    "address": {
      "street": "123 Industrial Rd",
      "city": "Dallas",
      "state": "TX",
      "zipCode": "75201"
    },
    "coordinates": {
      "latitude": "32.7767",
      "longitude": "-96.7970"
    },
    "status": "Open",
    "stopType": "Pickup",
    "arrivedAt": "2026-03-16T11:05:40.106Z",
    "departedAt": "2026-03-16T11:45:40.106Z",
    "references": [
      {
        "id": "string",
        "referenceId": "PO123456",
        "name": "PO Number",
        "value": "PO123456",
        "type": "Text",
        "access": "Public",
        "origin": "Manual"
      }
    ],
    "companyId": "string",
    "companyNumber": "GT530",
    "companyName": "Alvys Distribution",
    "$type": "appointment"
  }
]

Status Codes

Status CodeDescription
200 OKTrip stops successfully retrieved.
404 Not FoundTrip does not exist or is not visible.

Versioning

The version parameter in the URL path specifies which version of the API you are using. Including the version ensures that your integration interacts with the correct API contract and remains compatible as the API evolves.

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
Defaults to 1.0
Headers
string
enum
Defaults to application/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