shipments / #219
- orderId
- orders/421
- carrier
- usps
- trackingNumber
- Z3AJYOF7EODWCBYS
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#219
#219
Small
shipments/219 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/219" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/219"
);
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/219"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/219"
)
shipment = res.json() {
"id": 219,
"orderId": 421,
"carrier": "usps",
"trackingNumber": "Z3AJYOF7EODWCBYS",
"status": "label_created",
"shippedAt": "2025-05-26T10:21:30.052Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-06-03T21:14:06.214Z",
"createdAt": "2025-05-26T10:21:30.052Z"
}