shipments / #104
- orderId
- orders/184
- carrier
- ups
- trackingNumber
- UQ0EZEMHNPWCPPHU
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#104
#104
Small
shipments/104 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/104" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/104"
);
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/104"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/104"
)
shipment = res.json() {
"id": 104,
"orderId": 184,
"carrier": "ups",
"trackingNumber": "UQ0EZEMHNPWCPPHU",
"status": "delivered",
"shippedAt": "2025-04-06T18:38:24.280Z",
"deliveredAt": "2025-04-14T08:36:07.237Z",
"estimatedDeliveryAt": "2025-04-09T18:47:58.635Z",
"createdAt": "2025-04-06T18:38:24.280Z"
}