shipments #214
- orderId
- orders/410
- carrier
- fedex
- trackingNumber
- MUDBHLPKDMVVQ5HL
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #214
#214
#214
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/214" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/214" ); 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/214"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/214"
)
shipment = res.json() Response
{
"id": 214,
"orderId": 410,
"carrier": "fedex",
"trackingNumber": "MUDBHLPKDMVVQ5HL",
"status": "delivered",
"shippedAt": "2025-11-05T09:51:35.049Z",
"deliveredAt": "2025-11-09T22:14:10.581Z",
"estimatedDeliveryAt": "2025-11-12T12:17:49.740Z",
"createdAt": "2025-11-05T09:51:35.049Z"
}