shipments / #170
- orderId
- orders/323
- carrier
- ups
- trackingNumber
- OL7P2K9FHW0IHAMI
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#170
#170
Small
shipments/170 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/170" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/170"
);
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/170"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/170"
)
shipment = res.json() {
"id": 170,
"orderId": 323,
"carrier": "ups",
"trackingNumber": "OL7P2K9FHW0IHAMI",
"status": "in_transit",
"shippedAt": "2025-12-06T01:53:20.553Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-12-10T05:07:36.162Z",
"createdAt": "2025-12-06T01:53:20.553Z"
}