example-data.com

shipments / #139

orderId
orders/252
carrier
ups
trackingNumber
TQNKZOPOCK2FY3WC
status
in_transit
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/139"
)
shipment = res.json()
{
  "id": 139,
  "orderId": 252,
  "carrier": "ups",
  "trackingNumber": "TQNKZOPOCK2FY3WC",
  "status": "in_transit",
  "shippedAt": "2025-11-28T08:53:41.972Z",
  "deliveredAt": null,
  "estimatedDeliveryAt": "2025-12-06T15:38:12.302Z",
  "createdAt": "2025-11-28T08:53:41.972Z"
}
Draftbit