shipments #137
- orderId
- orders/244
- carrier
- fedex
- trackingNumber
- U0XUJPYR42AGB53I
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #137
#137
#137
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/137" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/137" ); 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/137"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/137"
)
shipment = res.json() Response
{
"id": 137,
"orderId": 244,
"carrier": "fedex",
"trackingNumber": "U0XUJPYR42AGB53I",
"status": "in_transit",
"shippedAt": "2026-01-28T20:57:48.951Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2026-02-07T04:15:50.828Z",
"createdAt": "2026-01-28T20:57:48.951Z"
}