shipments #155
- orderId
- orders/304
- carrier
- fedex
- trackingNumber
- CBGXDFTYW3EI9WJ4
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #155
#155
#155
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/155" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/155" ); 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/155"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/155"
)
shipment = res.json() Response
{
"id": 155,
"orderId": 304,
"carrier": "fedex",
"trackingNumber": "CBGXDFTYW3EI9WJ4",
"status": "delivered",
"shippedAt": "2026-04-04T10:15:31.929Z",
"deliveredAt": "2026-04-11T03:50:35.055Z",
"estimatedDeliveryAt": "2026-04-12T01:16:34.524Z",
"createdAt": "2026-04-04T10:15:31.929Z"
}