shipments #529
- orderId
- orders/997
- carrier
- usps
- trackingNumber
- SMQSPPNF8CMORUJU
- status
- label_created
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Overview
shipments / #529
#529
#529
Request
curl example
curl -sS \ "https://example-data.com/api/v1/shipments/529" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/shipments/529" ); 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/529"
);
const shipment = (await res.json()) as Shipment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/529"
)
shipment = res.json() Response
{
"id": 529,
"orderId": 997,
"carrier": "usps",
"trackingNumber": "SMQSPPNF8CMORUJU",
"status": "label_created",
"shippedAt": "2025-06-26T18:31:38.558Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2025-07-03T22:00:28.111Z",
"createdAt": "2025-06-26T18:31:38.558Z"
}