shipments #483
- orderId
- orders/904
- carrier
- usps
- trackingNumber
- 1K7XTOBK7RJKMTT0
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #483
#483
#483
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/483" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/483" ); 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/483"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/483"
)
shipment = res.json() Response
{
"id": 483,
"orderId": 904,
"carrier": "usps",
"trackingNumber": "1K7XTOBK7RJKMTT0",
"status": "delivered",
"shippedAt": "2025-06-16T04:54:54.908Z",
"deliveredAt": "2025-06-21T22:08:45.495Z",
"estimatedDeliveryAt": "2025-06-19T11:15:51.219Z",
"createdAt": "2025-06-16T04:54:54.908Z"
}