shipments #384
- orderId
- orders/719
- carrier
- ups
- trackingNumber
- QZ4L0514LKQPMRV9
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #384
#384
#384
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/384" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/384" ); 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/384"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/384"
)
shipment = res.json() Response
{
"id": 384,
"orderId": 719,
"carrier": "ups",
"trackingNumber": "QZ4L0514LKQPMRV9",
"status": "delivered",
"shippedAt": "2025-08-18T05:48:38.016Z",
"deliveredAt": "2025-08-20T13:06:05.392Z",
"estimatedDeliveryAt": "2025-08-24T07:57:38.360Z",
"createdAt": "2025-08-18T05:48:38.016Z"
}