example-data.com

shipments / #90

orderId
orders/154
carrier
ups
trackingNumber
DSYKRSOUZ9Z796PK
status
delivered
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/90"
)
shipment = res.json()
{
  "id": 90,
  "orderId": 154,
  "carrier": "ups",
  "trackingNumber": "DSYKRSOUZ9Z796PK",
  "status": "delivered",
  "shippedAt": "2025-12-01T10:28:52.665Z",
  "deliveredAt": "2025-12-05T09:43:01.384Z",
  "estimatedDeliveryAt": "2025-12-06T08:24:31.988Z",
  "createdAt": "2025-12-01T10:28:52.665Z"
}
Draftbit