shipments #414
- orderId
- orders/775
- carrier
- usps
- trackingNumber
- FDBQL92MH1FOE1U6
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #414
#414
#414
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/414" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/414" ); const shipment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/shipments.d.ts https://example-data.com/types/shipments.d.ts
import type { Shipment } from "./types/shipments";
const res = await fetch(
"https://example-data.com/api/v1/shipments/414"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/414"
)
shipment = res.json() Response
{
"id": 414,
"orderId": 775,
"carrier": "usps",
"trackingNumber": "FDBQL92MH1FOE1U6",
"status": "delivered",
"shippedAt": "2026-02-20T03:24:59.151Z",
"deliveredAt": "2026-02-25T13:17:59.907Z",
"estimatedDeliveryAt": "2026-02-23T16:24:11.221Z",
"createdAt": "2026-02-20T03:24:59.151Z"
}