shipments #312
- orderId
- orders/594
- carrier
- ups
- trackingNumber
- VT3QJ1KU1OIF3Z2O
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #312
#312
#312
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/312" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/312" ); 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/312"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/312"
)
shipment = res.json() Response
{
"id": 312,
"orderId": 594,
"carrier": "ups",
"trackingNumber": "VT3QJ1KU1OIF3Z2O",
"status": "delivered",
"shippedAt": "2026-03-13T17:05:20.319Z",
"deliveredAt": "2026-03-17T01:54:27.744Z",
"estimatedDeliveryAt": "2026-03-17T14:14:36.962Z",
"createdAt": "2026-03-13T17:05:20.319Z"
}