shipments #429
- orderId
- orders/801
- carrier
- usps
- trackingNumber
- TCR4SF3JO9VTAZD8
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #429
#429
#429
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/429" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/429" ); 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/429"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/429"
)
shipment = res.json() Response
{
"id": 429,
"orderId": 801,
"carrier": "usps",
"trackingNumber": "TCR4SF3JO9VTAZD8",
"status": "delivered",
"shippedAt": "2025-06-23T16:44:48.856Z",
"deliveredAt": "2025-07-01T16:01:33.908Z",
"estimatedDeliveryAt": "2025-06-26T05:07:38.737Z",
"createdAt": "2025-06-23T16:44:48.856Z"
}