example-data.com

shipments / #221

orderId
orders/428
carrier
ups
trackingNumber
ZWRVJMCK5WGRATNH
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/221"
)
shipment = res.json()
{
  "id": 221,
  "orderId": 428,
  "carrier": "ups",
  "trackingNumber": "ZWRVJMCK5WGRATNH",
  "status": "delivered",
  "shippedAt": "2026-05-22T00:00:00.000Z",
  "deliveredAt": "2026-05-25T18:49:53.955Z",
  "estimatedDeliveryAt": "2026-05-27T22:18:09.282Z",
  "createdAt": "2026-05-22T00:00:00.000Z"
}
Draftbit