shipments #114
- orderId
- orders/201
- carrier
- dhl
- trackingNumber
- 6TNSWWQ7Q8ALMOM5
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #114
#114
#114
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/114" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/114" ); 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/114"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/114"
)
shipment = res.json() Response
{
"id": 114,
"orderId": 201,
"carrier": "dhl",
"trackingNumber": "6TNSWWQ7Q8ALMOM5",
"status": "label_created",
"shippedAt": "2025-12-29T14:25:02.910Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2026-01-03T08:05:02.753Z",
"createdAt": "2025-12-29T14:25:02.910Z"
}