shipments #491
- orderId
- orders/923
- carrier
- ups
- trackingNumber
- WG6JYXONEV1VW212
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #491
#491
#491
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/491" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/491" ); 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/491"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/491"
)
shipment = res.json() Response
{
"id": 491,
"orderId": 923,
"carrier": "ups",
"trackingNumber": "WG6JYXONEV1VW212",
"status": "delivered",
"shippedAt": "2025-06-12T20:03:37.192Z",
"deliveredAt": "2025-06-19T08:27:07.438Z",
"estimatedDeliveryAt": "2025-06-15T18:31:38.260Z",
"createdAt": "2025-06-12T20:03:37.192Z"
}