shipments #327
- orderId
- orders/620
- carrier
- ups
- trackingNumber
- 2YAKZX5EWA2UFL6G
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #327
#327
#327
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/327" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/327" ); 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/327"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/327"
)
shipment = res.json() Response
{
"id": 327,
"orderId": 620,
"carrier": "ups",
"trackingNumber": "2YAKZX5EWA2UFL6G",
"status": "delivered",
"shippedAt": "2026-01-21T15:51:10.026Z",
"deliveredAt": "2026-01-23T21:26:21.569Z",
"estimatedDeliveryAt": "2026-01-27T06:43:30.996Z",
"createdAt": "2026-01-21T15:51:10.026Z"
}