shipments #261
- orderId
- orders/499
- carrier
- usps
- trackingNumber
- 6RLB0TOCY025MIZZ
- status
- delivered
- shippedAt
- deliveredAt
- estimatedDeliveryAt
- createdAt
Overview
shipments / #261
#261
#261
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/261" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/261" ); 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/261"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/261"
)
shipment = res.json() Response
{
"id": 261,
"orderId": 499,
"carrier": "usps",
"trackingNumber": "6RLB0TOCY025MIZZ",
"status": "delivered",
"shippedAt": "2025-07-08T20:23:02.374Z",
"deliveredAt": "2025-07-11T23:42:18.476Z",
"estimatedDeliveryAt": "2025-07-11T23:37:41.591Z",
"createdAt": "2025-07-08T20:23:02.374Z"
}