example-data.com

shipments / #97

orderId
orders/170
carrier
fedex
trackingNumber
V32QBVDLCVPAHSF5
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/97"
)
shipment = res.json()
{
  "id": 97,
  "orderId": 170,
  "carrier": "fedex",
  "trackingNumber": "V32QBVDLCVPAHSF5",
  "status": "delivered",
  "shippedAt": "2025-06-05T20:10:34.418Z",
  "deliveredAt": "2025-06-11T17:25:18.107Z",
  "estimatedDeliveryAt": "2025-06-15T07:47:19.172Z",
  "createdAt": "2025-06-05T20:10:34.418Z"
}
Draftbit