shipments / #216
- orderId
- orders/412
- carrier
- ups
- trackingNumber
- CF3A11BBKXXIKGI0
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#216
#216
Small
shipments/216 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/216" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/216"
);
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/216"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/216"
)
shipment = res.json() {
"id": 216,
"orderId": 412,
"carrier": "ups",
"trackingNumber": "CF3A11BBKXXIKGI0",
"status": "label_created",
"shippedAt": "2025-03-01T21:44:44.384Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-03-07T12:39:19.549Z",
"createdAt": "2025-03-01T21:44:44.384Z"
}