shipments / #116
- orderId
- orders/205
- carrier
- fedex
- trackingNumber
- FYRJV3BNX3XKME6U
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#116
#116
Small
shipments/116 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/116" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/116"
);
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/116"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/116"
)
shipment = res.json() {
"id": 116,
"orderId": 205,
"carrier": "fedex",
"trackingNumber": "FYRJV3BNX3XKME6U",
"status": "in_transit",
"shippedAt": "2025-01-07T04:08:27.027Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-01-10T08:19:42.528Z",
"createdAt": "2025-01-07T04:08:27.027Z"
}