example-data.com

shipments / #177

orderId
orders/336
carrier
dhl
trackingNumber
SVFEOZXOJH1UDLZD
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/177"
)
shipment = res.json()
{
  "id": 177,
  "orderId": 336,
  "carrier": "dhl",
  "trackingNumber": "SVFEOZXOJH1UDLZD",
  "status": "delivered",
  "shippedAt": "2025-11-01T14:56:06.059Z",
  "deliveredAt": "2025-11-07T09:32:27.813Z",
  "estimatedDeliveryAt": "2025-11-10T00:00:39.837Z",
  "createdAt": "2025-11-01T14:56:06.059Z"
}
Draftbit