shipments #474
- orderId
- orders/886
- carrier
- ups
- trackingNumber
- HM8O3UR101J7D4MV
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #474
#474
#474
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/474" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/474" ); 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/474"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/474"
)
shipment = res.json() Response
{
"id": 474,
"orderId": 886,
"carrier": "ups",
"trackingNumber": "HM8O3UR101J7D4MV",
"status": "delivered",
"shippedAt": "2025-11-02T15:05:54.202Z",
"deliveredAt": "2025-11-10T13:53:05.541Z",
"estimatedDeliveryAt": "2025-11-07T06:03:26.183Z",
"createdAt": "2025-11-02T15:05:54.202Z"
}