shipments #446
- orderId
- orders/826
- carrier
- usps
- trackingNumber
- L58VZPK4S53TN1PX
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #446
#446
#446
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/446" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/446" ); 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/446"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/446"
)
shipment = res.json() Response
{
"id": 446,
"orderId": 826,
"carrier": "usps",
"trackingNumber": "L58VZPK4S53TN1PX",
"status": "in_transit",
"shippedAt": "2025-08-15T10:44:44.657Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-08-21T08:37:52.585Z",
"createdAt": "2025-08-15T10:44:44.657Z"
}