shipments #85
- orderId
- orders/146
- carrier
- usps
- trackingNumber
- M3NTAGO30OC85VOV
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #85
#85
#85
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/85" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/85" ); 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/85"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/85"
)
shipment = res.json() Response
{
"id": 85,
"orderId": 146,
"carrier": "usps",
"trackingNumber": "M3NTAGO30OC85VOV",
"status": "delivered",
"shippedAt": "2026-01-28T19:11:57.675Z",
"deliveredAt": "2026-02-03T02:08:20.015Z",
"estimatedDeliveryAt": "2026-02-04T22:57:22.366Z",
"createdAt": "2026-01-28T19:11:57.675Z"
}