shipments #224
- orderId
- orders/433
- carrier
- usps
- trackingNumber
- TEGE836Z4JV60STZ
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #224
#224
#224
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/224" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/224" ); 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/224"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/224"
)
shipment = res.json() Response
{
"id": 224,
"orderId": 433,
"carrier": "usps",
"trackingNumber": "TEGE836Z4JV60STZ",
"status": "delivered",
"shippedAt": "2025-06-10T10:21:09.687Z",
"deliveredAt": "2025-06-14T09:37:50.893Z",
"estimatedDeliveryAt": "2025-06-18T10:35:57.360Z",
"createdAt": "2025-06-10T10:21:09.687Z"
}