shipments / #99
- orderId
- orders/174
- carrier
- usps
- trackingNumber
- O3N9TBT5TWTDEA34
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#99
#99
Small
shipments/99 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/99" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/99"
);
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/99"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/99"
)
shipment = res.json() {
"id": 99,
"orderId": 174,
"carrier": "usps",
"trackingNumber": "O3N9TBT5TWTDEA34",
"status": "in_transit",
"shippedAt": "2025-12-28T16:48:49.441Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2026-01-01T01:23:21.804Z",
"createdAt": "2025-12-28T16:48:49.441Z"
}