shipments / #32
- orderId
- orders/62
- carrier
- ups
- trackingNumber
- 0KWUA8WEKR6FPIDO
- status
- out_for_delivery
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#32
#32
Small
shipments/32 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/32" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/32"
);
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/32"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/32"
)
shipment = res.json() {
"id": 32,
"orderId": 62,
"carrier": "ups",
"trackingNumber": "0KWUA8WEKR6FPIDO",
"status": "out_for_delivery",
"shippedAt": "2024-12-07T17:31:16.573Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-12-14T18:56:49.169Z",
"createdAt": "2024-12-07T17:31:16.573Z"
}