example-data.com

shipments / #155

orderId
orders/304
carrier
fedex
trackingNumber
CBGXDFTYW3EI9WJ4
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/155"
)
shipment = res.json()
{
  "id": 155,
  "orderId": 304,
  "carrier": "fedex",
  "trackingNumber": "CBGXDFTYW3EI9WJ4",
  "status": "delivered",
  "shippedAt": "2026-04-04T10:15:31.929Z",
  "deliveredAt": "2026-04-11T03:50:35.055Z",
  "estimatedDeliveryAt": "2026-04-12T01:16:34.524Z",
  "createdAt": "2026-04-04T10:15:31.929Z"
}
Draftbit