example-data.com

shipments / #59

orderId
orders/104
carrier
dhl
trackingNumber
VTX25A0UFO7WVUHP
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

curl -sS \
  "https://example-data.com/api/v1/shipments/59" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/shipments/59"
);
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/59"
);
const shipment = (await res.json()) as Shipment;
import requests

res = requests.get(
    "https://example-data.com/api/v1/shipments/59"
)
shipment = res.json()
{
  "id": 59,
  "orderId": 104,
  "carrier": "dhl",
  "trackingNumber": "VTX25A0UFO7WVUHP",
  "status": "delivered",
  "shippedAt": "2026-01-18T19:18:31.425Z",
  "deliveredAt": "2026-01-23T12:52:42.626Z",
  "estimatedDeliveryAt": "2026-01-23T09:00:53.588Z",
  "createdAt": "2026-01-18T19:18:31.425Z"
}
Draftbit