example-data.com

shipments / #87

orderId
orders/150
carrier
dhl
trackingNumber
KYWYY102YF7FGXQ8
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/87"
)
shipment = res.json()
{
  "id": 87,
  "orderId": 150,
  "carrier": "dhl",
  "trackingNumber": "KYWYY102YF7FGXQ8",
  "status": "delivered",
  "shippedAt": "2026-04-18T13:20:34.164Z",
  "deliveredAt": "2026-04-23T19:20:38.350Z",
  "estimatedDeliveryAt": "2026-04-20T18:55:36.777Z",
  "createdAt": "2026-04-18T13:20:34.164Z"
}
Draftbit