shipments #186
- orderId
- orders/354
- carrier
- fedex
- trackingNumber
- YMGI2ZH0ABH7TQBG
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #186
#186
#186
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/186" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/186" ); 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/186"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/186"
)
shipment = res.json() Response
{
"id": 186,
"orderId": 354,
"carrier": "fedex",
"trackingNumber": "YMGI2ZH0ABH7TQBG",
"status": "delivered",
"shippedAt": "2025-08-24T19:20:21.194Z",
"deliveredAt": "2025-08-27T14:37:58.087Z",
"estimatedDeliveryAt": "2025-08-30T00:43:50.470Z",
"createdAt": "2025-08-24T19:20:21.194Z"
}