shipments #523
- orderId
- orders/988
- carrier
- ups
- trackingNumber
- B34050IS1N943T25
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #523
#523
#523
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/523" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/523" ); 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/523"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/523"
)
shipment = res.json() Response
{
"id": 523,
"orderId": 988,
"carrier": "ups",
"trackingNumber": "B34050IS1N943T25",
"status": "delivered",
"shippedAt": "2026-03-26T09:20:52.241Z",
"deliveredAt": "2026-03-29T22:20:56.501Z",
"estimatedDeliveryAt": "2026-03-31T13:34:00.351Z",
"createdAt": "2026-03-26T09:20:52.241Z"
}