example-data.com

shipments / #235

orderId
orders/453
carrier
dhl
trackingNumber
EEY4Q0GVL2YTPL4V
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/235"
)
shipment = res.json()
{
  "id": 235,
  "orderId": 453,
  "carrier": "dhl",
  "trackingNumber": "EEY4Q0GVL2YTPL4V",
  "status": "delivered",
  "shippedAt": "2025-09-25T21:07:05.627Z",
  "deliveredAt": "2025-10-01T15:05:46.118Z",
  "estimatedDeliveryAt": "2025-10-03T00:10:37.582Z",
  "createdAt": "2025-09-25T21:07:05.627Z"
}
Draftbit