shipments #347
- orderId
- orders/653
- carrier
- dhl
- trackingNumber
- E8QOBN0UCXNLAE1X
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #347
#347
#347
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/347" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/347" ); 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/347"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/347"
)
shipment = res.json() Response
{
"id": 347,
"orderId": 653,
"carrier": "dhl",
"trackingNumber": "E8QOBN0UCXNLAE1X",
"status": "delivered",
"shippedAt": "2025-08-17T12:22:56.772Z",
"deliveredAt": "2025-08-24T21:50:34.204Z",
"estimatedDeliveryAt": "2025-08-24T05:56:12.640Z",
"createdAt": "2025-08-17T12:22:56.772Z"
}