example-data.com

shipments / #166

orderId
orders/318
carrier
usps
trackingNumber
XYMFIPCKK7OFTLY1
status
in_transit
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/166"
)
shipment = res.json()
{
  "id": 166,
  "orderId": 318,
  "carrier": "usps",
  "trackingNumber": "XYMFIPCKK7OFTLY1",
  "status": "in_transit",
  "shippedAt": "2025-12-21T12:08:59.361Z",
  "deliveredAt": null,
  "estimatedDeliveryAt": "2025-12-31T06:47:14.914Z",
  "createdAt": "2025-12-21T12:08:59.361Z"
}
Draftbit