shipments #395
- orderId
- orders/737
- carrier
- usps
- trackingNumber
- FWR5848C91252D3I
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #395
#395
#395
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/395" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/395" ); 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/395"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/395"
)
shipment = res.json() Response
{
"id": 395,
"orderId": 737,
"carrier": "usps",
"trackingNumber": "FWR5848C91252D3I",
"status": "delivered",
"shippedAt": "2026-02-22T19:02:04.108Z",
"deliveredAt": "2026-03-01T06:07:43.895Z",
"estimatedDeliveryAt": "2026-02-25T15:43:53.368Z",
"createdAt": "2026-02-22T19:02:04.108Z"
}