shipments #308
- orderId
- orders/579
- carrier
- fedex
- trackingNumber
- 9RURR5G9ZL2XVY2R
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #308
#308
#308
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/308" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/308" ); 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/308"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/308"
)
shipment = res.json() Response
{
"id": 308,
"orderId": 579,
"carrier": "fedex",
"trackingNumber": "9RURR5G9ZL2XVY2R",
"status": "delivered",
"shippedAt": "2026-05-21T13:38:50.513Z",
"deliveredAt": "2026-05-24T06:11:21.759Z",
"estimatedDeliveryAt": "2026-05-26T02:31:27.790Z",
"createdAt": "2026-05-21T13:38:50.513Z"
}