shipments #436
- orderId
- orders/811
- carrier
- usps
- trackingNumber
- RUTDO39PLB16XMOT
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #436
#436
#436
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/436" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/436" ); 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/436"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/436"
)
shipment = res.json() Response
{
"id": 436,
"orderId": 811,
"carrier": "usps",
"trackingNumber": "RUTDO39PLB16XMOT",
"status": "delivered",
"shippedAt": "2025-07-07T22:44:30.720Z",
"deliveredAt": "2025-07-12T14:40:44.280Z",
"estimatedDeliveryAt": "2025-07-12T15:58:44.655Z",
"createdAt": "2025-07-07T22:44:30.720Z"
}