shipments / #25
- orderId
- orders/48
- carrier
- ups
- trackingNumber
- 44CMB9PVDU2BRY83
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#25
#25
Small
shipments/25 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/25" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/25"
);
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/25"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/25"
)
shipment = res.json() {
"id": 25,
"orderId": 48,
"carrier": "ups",
"trackingNumber": "44CMB9PVDU2BRY83",
"status": "label_created",
"shippedAt": "2025-05-19T22:15:34.740Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-05-27T23:42:20.974Z",
"createdAt": "2025-05-19T22:15:34.740Z"
}