example-data.com

shipments / #236

orderId
orders/454
carrier
usps
trackingNumber
3T9TZVKQO1EP9ASS
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/236"
)
shipment = res.json()
{
  "id": 236,
  "orderId": 454,
  "carrier": "usps",
  "trackingNumber": "3T9TZVKQO1EP9ASS",
  "status": "delivered",
  "shippedAt": "2026-02-22T08:11:15.520Z",
  "deliveredAt": "2026-02-27T20:24:04.822Z",
  "estimatedDeliveryAt": "2026-03-02T12:48:51.275Z",
  "createdAt": "2026-02-22T08:11:15.520Z"
}
Draftbit