shipments #97
- orderId
- orders/170
- carrier
- fedex
- trackingNumber
- V32QBVDLCVPAHSF5
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #97
#97
#97
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/97" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/97" ); 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/97"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/97"
)
shipment = res.json() Response
{
"id": 97,
"orderId": 170,
"carrier": "fedex",
"trackingNumber": "V32QBVDLCVPAHSF5",
"status": "delivered",
"shippedAt": "2025-06-05T20:10:34.418Z",
"deliveredAt": "2025-06-11T17:25:18.107Z",
"estimatedDeliveryAt": "2025-06-15T07:47:19.172Z",
"createdAt": "2025-06-05T20:10:34.418Z"
}