shipments #271
- orderId
- orders/512
- carrier
- usps
- trackingNumber
- VW6RC8NG0OQAIZ24
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #271
#271
#271
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/271" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/271" ); 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/271"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/271"
)
shipment = res.json() Response
{
"id": 271,
"orderId": 512,
"carrier": "usps",
"trackingNumber": "VW6RC8NG0OQAIZ24",
"status": "delivered",
"shippedAt": "2026-02-22T20:59:10.232Z",
"deliveredAt": "2026-02-25T09:20:09.894Z",
"estimatedDeliveryAt": "2026-02-27T05:58:29.773Z",
"createdAt": "2026-02-22T20:59:10.232Z"
}