shipments / #74
- orderId
- orders/128
- carrier
- fedex
- trackingNumber
- 0JLYYLBI1Q3GZE3U
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#74
#74
Small
shipments/74 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/74" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/74"
);
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/74"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/74"
)
shipment = res.json() {
"id": 74,
"orderId": 128,
"carrier": "fedex",
"trackingNumber": "0JLYYLBI1Q3GZE3U",
"status": "label_created",
"shippedAt": "2024-11-01T17:44:10.583Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-11-04T07:37:07.844Z",
"createdAt": "2024-11-01T17:44:10.583Z"
}