shipments #87
- orderId
- orders/150
- carrier
- dhl
- trackingNumber
- KYWYY102YF7FGXQ8
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #87
#87
#87
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/87" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/87" ); 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/87"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/87"
)
shipment = res.json() Response
{
"id": 87,
"orderId": 150,
"carrier": "dhl",
"trackingNumber": "KYWYY102YF7FGXQ8",
"status": "delivered",
"shippedAt": "2026-04-18T13:20:34.164Z",
"deliveredAt": "2026-04-23T19:20:38.350Z",
"estimatedDeliveryAt": "2026-04-20T18:55:36.777Z",
"createdAt": "2026-04-18T13:20:34.164Z"
}