shipments #490
- orderId
- orders/915
- carrier
- ups
- trackingNumber
- Z3M81N2QN6U4EUWO
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #490
#490
#490
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/490" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/490" ); 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/490"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/490"
)
shipment = res.json() Response
{
"id": 490,
"orderId": 915,
"carrier": "ups",
"trackingNumber": "Z3M81N2QN6U4EUWO",
"status": "delivered",
"shippedAt": "2025-09-23T20:32:27.071Z",
"deliveredAt": "2025-10-01T11:12:24.959Z",
"estimatedDeliveryAt": "2025-09-27T19:43:24.038Z",
"createdAt": "2025-09-23T20:32:27.071Z"
}