shipments #421
- orderId
- orders/789
- carrier
- fedex
- trackingNumber
- EXG3COJ0PWU208KQ
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #421
#421
#421
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/421" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/421" ); 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/421"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/421"
)
shipment = res.json() Response
{
"id": 421,
"orderId": 789,
"carrier": "fedex",
"trackingNumber": "EXG3COJ0PWU208KQ",
"status": "delivered",
"shippedAt": "2025-11-01T23:14:44.789Z",
"deliveredAt": "2025-11-05T03:43:45.041Z",
"estimatedDeliveryAt": "2025-11-07T08:44:33.638Z",
"createdAt": "2025-11-01T23:14:44.789Z"
}