shipments / #225
- orderId
- orders/434
- carrier
- dhl
- trackingNumber
- XC4KMXRI5ZIJ52ZR
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#225
#225
Small
shipments/225 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/225" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/225"
);
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/225"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/225"
)
shipment = res.json() {
"id": 225,
"orderId": 434,
"carrier": "dhl",
"trackingNumber": "XC4KMXRI5ZIJ52ZR",
"status": "delivered",
"shippedAt": "2024-08-24T22:28:15.919Z",
"deliveredAt": "2024-08-30T07:47:41.529Z",
"estimatedDeliveryAt": "2024-09-01T17:57:27.272Z",
"createdAt": "2024-08-24T22:28:15.919Z"
}