shipments #365
- orderId
- orders/682
- carrier
- usps
- trackingNumber
- VIMP0IZHPM2O2V3H
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #365
#365
#365
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/365" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/365" ); 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/365"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/365"
)
shipment = res.json() Response
{
"id": 365,
"orderId": 682,
"carrier": "usps",
"trackingNumber": "VIMP0IZHPM2O2V3H",
"status": "delivered",
"shippedAt": "2025-10-13T00:31:36.806Z",
"deliveredAt": "2025-10-15T23:53:07.372Z",
"estimatedDeliveryAt": "2025-10-22T08:20:03.707Z",
"createdAt": "2025-10-13T00:31:36.806Z"
}