shipments #460
- orderId
- orders/853
- carrier
- fedex
- trackingNumber
- YP4VLY8RZVQ4B9N0
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #460
#460
#460
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/460" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/460" ); 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/460"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/460"
)
shipment = res.json() Response
{
"id": 460,
"orderId": 853,
"carrier": "fedex",
"trackingNumber": "YP4VLY8RZVQ4B9N0",
"status": "delivered",
"shippedAt": "2025-08-09T03:44:16.234Z",
"deliveredAt": "2025-08-12T05:23:05.161Z",
"estimatedDeliveryAt": "2025-08-14T12:14:56.593Z",
"createdAt": "2025-08-09T03:44:16.234Z"
}