Skip to main content
GET
Retrieve a single shipment by its reference ID. The endpoint always force-refreshes the shipment from the logistics provider before returning, so the status and status_updates reflect the provider’s latest known state.

Request

Path parameters

string
required
Shipment reference ID (e.g., P2604154821).

Response

On success, the API returns 200 OK with the shipment object.
string
required
Shipment reference identifier.
string
required
Shipment lifecycle status. One of pending, in_transit, delivered, fault, or cancelled.
string
required
Logistics provider. One of go, dhl, or tof.
string
External tracking number from the logistics provider. May be null.
object
Pickup address. May be null.
object
Delivery address. Same structure as origin. May be null.
object
Scheduled pickup window. May be null.
string
Optional notes. May be null.
object[]
required
Chronological lifecycle events from the logistics provider (oldest first). Each entry contains the raw provider-sourced status label and a timestamp. Empty array if the provider has not reported any events yet. Use this for debug / audit; rely on status for canonical current state.
ShipmentAppointmentLink[]
required
Appointments linked to this shipment, oldest-link first. Empty array when no appointments are linked. Cross-reference each id against Get Appointment for the full appointment payload.
string
required
Creation timestamp (ISO 8601).
string
Last update timestamp (ISO 8601). May be null.

Error responses