shipments / #44
- orderId
- orders/82
- carrier
- dhl
- trackingNumber
- 34TTRS57GNKILM9P
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#44
#44
Small
shipments/44 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/44" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/44"
);
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/44"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/44"
)
shipment = res.json() {
"id": 44,
"orderId": 82,
"carrier": "dhl",
"trackingNumber": "34TTRS57GNKILM9P",
"status": "in_transit",
"shippedAt": "2025-12-18T14:23:46.898Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-12-27T10:09:11.142Z",
"createdAt": "2025-12-18T14:23:46.898Z"
}