shipments #513
- orderId
- orders/966
- carrier
- fedex
- trackingNumber
- SCOIQEI5VX6DQ4U8
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #513
#513
#513
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/513" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/513" ); 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/513"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/513"
)
shipment = res.json() Response
{
"id": 513,
"orderId": 966,
"carrier": "fedex",
"trackingNumber": "SCOIQEI5VX6DQ4U8",
"status": "delivered",
"shippedAt": "2025-11-05T00:26:18.221Z",
"deliveredAt": "2025-11-12T23:45:34.872Z",
"estimatedDeliveryAt": "2025-11-12T03:03:03.113Z",
"createdAt": "2025-11-05T00:26:18.221Z"
}