shipments / #171
- orderId
- orders/325
- carrier
- dhl
- trackingNumber
- GYT4H2QXZEVP2PPX
- status
- out_for_delivery
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#171
#171
Small
shipments/171 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/171" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/171"
);
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/171"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/171"
)
shipment = res.json() {
"id": 171,
"orderId": 325,
"carrier": "dhl",
"trackingNumber": "GYT4H2QXZEVP2PPX",
"status": "out_for_delivery",
"shippedAt": "2025-06-29T04:37:13.335Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-07-03T11:16:28.842Z",
"createdAt": "2025-06-29T04:37:13.335Z"
}