shipments #59
- orderId
- orders/104
- carrier
- dhl
- trackingNumber
- VTX25A0UFO7WVUHP
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #59
#59
#59
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/59" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/59" ); const shipment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/shipments.d.ts https://example-data.com/types/shipments.d.ts
import type { Shipment } from "./types/shipments";
const res = await fetch(
"https://example-data.com/api/v1/shipments/59"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/59"
)
shipment = res.json() Response
{
"id": 59,
"orderId": 104,
"carrier": "dhl",
"trackingNumber": "VTX25A0UFO7WVUHP",
"status": "delivered",
"shippedAt": "2026-01-18T19:18:31.425Z",
"deliveredAt": "2026-01-23T12:52:42.626Z",
"estimatedDeliveryAt": "2026-01-23T09:00:53.588Z",
"createdAt": "2026-01-18T19:18:31.425Z"
}