example-data.com

shipments / #69

orderId
orders/121
carrier
usps
trackingNumber
F8WJQEST8ZS8J4P3
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/69"
)
shipment = res.json()
{
  "id": 69,
  "orderId": 121,
  "carrier": "usps",
  "trackingNumber": "F8WJQEST8ZS8J4P3",
  "status": "delivered",
  "shippedAt": "2025-07-10T11:21:04.630Z",
  "deliveredAt": "2025-07-13T21:22:55.410Z",
  "estimatedDeliveryAt": "2025-07-19T20:05:07.501Z",
  "createdAt": "2025-07-10T11:21:04.630Z"
}
Draftbit