shipments / #239
- orderId
- orders/459
- carrier
- dhl
- trackingNumber
- T7XW5ZUO1AXA8TO9
- status
- out_for_delivery
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#239
#239
Small
shipments/239 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/239" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/239"
);
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/239"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/239"
)
shipment = res.json() {
"id": 239,
"orderId": 459,
"carrier": "dhl",
"trackingNumber": "T7XW5ZUO1AXA8TO9",
"status": "out_for_delivery",
"shippedAt": "2025-04-25T13:53:21.056Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-05-01T02:33:09.040Z",
"createdAt": "2025-04-25T13:53:21.056Z"
}