shipments / #201
- orderId
- orders/392
- carrier
- dhl
- trackingNumber
- GTBGW7UVNGT87U2R
- status
- out_for_delivery
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#201
#201
Small
shipments/201 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/201" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/201"
);
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/201"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/201"
)
shipment = res.json() {
"id": 201,
"orderId": 392,
"carrier": "dhl",
"trackingNumber": "GTBGW7UVNGT87U2R",
"status": "out_for_delivery",
"shippedAt": "2025-03-02T10:04:09.558Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-03-09T20:32:04.279Z",
"createdAt": "2025-03-02T10:04:09.558Z"
}