shipments / #95
- orderId
- orders/167
- carrier
- dhl
- trackingNumber
- PH764TGII9PRTQUY
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#95
#95
Small
shipments/95 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/95" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/95"
);
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/95"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/95"
)
shipment = res.json() {
"id": 95,
"orderId": 167,
"carrier": "dhl",
"trackingNumber": "PH764TGII9PRTQUY",
"status": "delivered",
"shippedAt": "2024-10-14T13:14:20.706Z",
"deliveredAt": "2024-10-18T21:59:23.390Z",
"estimatedDeliveryAt": "2024-10-21T18:19:53.249Z",
"createdAt": "2024-10-14T13:14:20.706Z"
}