example-data.com

shipments / #224

orderId
orders/433
carrier
usps
trackingNumber
TEGE836Z4JV60STZ
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/224"
)
shipment = res.json()
{
  "id": 224,
  "orderId": 433,
  "carrier": "usps",
  "trackingNumber": "TEGE836Z4JV60STZ",
  "status": "delivered",
  "shippedAt": "2025-06-10T10:21:09.687Z",
  "deliveredAt": "2025-06-14T09:37:50.893Z",
  "estimatedDeliveryAt": "2025-06-18T10:35:57.360Z",
  "createdAt": "2025-06-10T10:21:09.687Z"
}
Draftbit