shipments #50
- orderId
- orders/89
- carrier
- usps
- trackingNumber
- 3GRRZ9QW6OGPC6BT
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #50
#50
#50
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/50" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/50" ); 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/50"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/50"
)
shipment = res.json() Response
{
"id": 50,
"orderId": 89,
"carrier": "usps",
"trackingNumber": "3GRRZ9QW6OGPC6BT",
"status": "delivered",
"shippedAt": "2026-02-16T20:21:59.401Z",
"deliveredAt": "2026-02-22T07:52:54.744Z",
"estimatedDeliveryAt": "2026-02-24T02:08:22.808Z",
"createdAt": "2026-02-16T20:21:59.401Z"
}