shipments #477
- orderId
- orders/894
- carrier
- usps
- trackingNumber
- RVJXES0RAR67PM12
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #477
#477
#477
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/477" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/477" ); 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/477"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/477"
)
shipment = res.json() Response
{
"id": 477,
"orderId": 894,
"carrier": "usps",
"trackingNumber": "RVJXES0RAR67PM12",
"status": "in_transit",
"shippedAt": "2025-10-21T04:08:01.082Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-10-31T01:09:32.180Z",
"createdAt": "2025-10-21T04:08:01.082Z"
}