example-data.com

shipments / #114

orderId
orders/201
carrier
dhl
trackingNumber
6TNSWWQ7Q8ALMOM5
status
label_created
shippedAt
deliveredAt
estimatedDeliveryAt
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/shipments/114"
)
shipment = res.json()
{
  "id": 114,
  "orderId": 201,
  "carrier": "dhl",
  "trackingNumber": "6TNSWWQ7Q8ALMOM5",
  "status": "label_created",
  "shippedAt": "2025-12-29T14:25:02.910Z",
  "deliveredAt": null,
  "estimatedDeliveryAt": "2026-01-03T08:05:02.753Z",
  "createdAt": "2025-12-29T14:25:02.910Z"
}
Draftbit