shipments #270
- orderId
- orders/511
- carrier
- fedex
- trackingNumber
- SUN2ZX4ABRTPKK4H
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #270
#270
#270
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/270" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/270" ); 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/270"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/270"
)
shipment = res.json() Response
{
"id": 270,
"orderId": 511,
"carrier": "fedex",
"trackingNumber": "SUN2ZX4ABRTPKK4H",
"status": "delivered",
"shippedAt": "2026-04-23T21:49:23.137Z",
"deliveredAt": "2026-04-26T04:41:55.995Z",
"estimatedDeliveryAt": "2026-05-01T04:51:04.060Z",
"createdAt": "2026-04-23T21:49:23.137Z"
}