example-data.com

shipments / #61

orderId
orders/109
carrier
ups
trackingNumber
645MHG9X5INDOC6G
status
in_transit
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/61"
)
shipment = res.json()
{
  "id": 61,
  "orderId": 109,
  "carrier": "ups",
  "trackingNumber": "645MHG9X5INDOC6G",
  "status": "in_transit",
  "shippedAt": "2025-07-15T23:48:19.694Z",
  "deliveredAt": null,
  "estimatedDeliveryAt": "2025-07-22T05:16:13.107Z",
  "createdAt": "2025-07-15T23:48:19.694Z"
}
Draftbit