shipments / #141
- orderId
- orders/256
- carrier
- dhl
- trackingNumber
- 4IH5VAEAWIVTTGTX
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#141
#141
Small
shipments/141 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/141" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/141"
);
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/141"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/141"
)
shipment = res.json() {
"id": 141,
"orderId": 256,
"carrier": "dhl",
"trackingNumber": "4IH5VAEAWIVTTGTX",
"status": "label_created",
"shippedAt": "2025-03-31T12:30:27.201Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-04-03T13:01:40.007Z",
"createdAt": "2025-03-31T12:30:27.201Z"
}