shipments #118
- orderId
- orders/208
- carrier
- fedex
- trackingNumber
- OE7JOD0YNX4Z3S4J
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #118
#118
#118
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/118" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/118" ); 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/118"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/118"
)
shipment = res.json() Response
{
"id": 118,
"orderId": 208,
"carrier": "fedex",
"trackingNumber": "OE7JOD0YNX4Z3S4J",
"status": "delivered",
"shippedAt": "2025-12-30T04:39:03.776Z",
"deliveredAt": "2026-01-04T02:20:16.664Z",
"estimatedDeliveryAt": "2026-01-05T02:02:57.318Z",
"createdAt": "2025-12-30T04:39:03.776Z"
}