shipments / #19
- orderId
- orders/34
- carrier
- ups
- trackingNumber
- 3UH35YY9J85K89RU
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#19
#19
Small
shipments/19 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/19" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/19"
);
const shipment = await res.json();import type { Shipment } from "https://example-data.com/types/shipments.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/shipments/19"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/19"
)
shipment = res.json() {
"id": 19,
"orderId": 34,
"carrier": "ups",
"trackingNumber": "3UH35YY9J85K89RU",
"status": "delivered",
"shippedAt": "2026-05-01T02:04:01.113Z",
"deliveredAt": "2026-05-05T10:14:39.096Z",
"estimatedDeliveryAt": "2026-05-05T04:06:50.810Z",
"createdAt": "2026-05-01T02:04:01.113Z"
}