shipments #409
- orderId
- orders/768
- carrier
- dhl
- trackingNumber
- R6YSQCVFCPRG7GWU
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #409
#409
#409
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/409" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/409" ); 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/409"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/409"
)
shipment = res.json() Response
{
"id": 409,
"orderId": 768,
"carrier": "dhl",
"trackingNumber": "R6YSQCVFCPRG7GWU",
"status": "delivered",
"shippedAt": "2025-09-04T17:45:36.710Z",
"deliveredAt": "2025-09-11T08:00:47.799Z",
"estimatedDeliveryAt": "2025-09-08T23:24:28.535Z",
"createdAt": "2025-09-04T17:45:36.710Z"
}