shipments #249
- orderId
- orders/482
- carrier
- dhl
- trackingNumber
- NPFL9LO4MPHKB6UQ
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #249
#249
#249
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/249" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/249" ); 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/249"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/249"
)
shipment = res.json() Response
{
"id": 249,
"orderId": 482,
"carrier": "dhl",
"trackingNumber": "NPFL9LO4MPHKB6UQ",
"status": "delivered",
"shippedAt": "2026-02-03T04:09:31.002Z",
"deliveredAt": "2026-02-10T17:15:56.920Z",
"estimatedDeliveryAt": "2026-02-12T23:07:03.693Z",
"createdAt": "2026-02-03T04:09:31.002Z"
}