shipments #6
- orderId
- orders/8
- carrier
- usps
- trackingNumber
- UEGSISSS78I28YSJ
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #6
#6
#6
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/6" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/6" ); 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/6"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/6"
)
shipment = res.json() Response
{
"id": 6,
"orderId": 8,
"carrier": "usps",
"trackingNumber": "UEGSISSS78I28YSJ",
"status": "label_created",
"shippedAt": "2025-12-23T16:53:04.740Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-12-27T18:23:03.320Z",
"createdAt": "2025-12-23T16:53:04.740Z"
}