shipments / #18
- orderId
- orders/33
- carrier
- fedex
- trackingNumber
- LBWI97UDI0B79DT2
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#18
#18
Small
shipments/18 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/18" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/18"
);
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/18"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/18"
)
shipment = res.json() {
"id": 18,
"orderId": 33,
"carrier": "fedex",
"trackingNumber": "LBWI97UDI0B79DT2",
"status": "delivered",
"shippedAt": "2025-01-12T10:04:25.902Z",
"deliveredAt": "2025-01-20T07:39:37.550Z",
"estimatedDeliveryAt": "2025-01-21T23:03:59.300Z",
"createdAt": "2025-01-12T10:04:25.902Z"
}