shipments / #112
- orderId
- orders/198
- carrier
- usps
- trackingNumber
- LLTR71B0AS7O093M
- status
- out_for_delivery
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#112
#112
Small
shipments/112 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/112" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/112"
);
const shipment = await res.json();import type { Shipment } from "https://example-data.com/types/shipments.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/shipments/112"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/112"
)
shipment = res.json() {
"id": 112,
"orderId": 198,
"carrier": "usps",
"trackingNumber": "LLTR71B0AS7O093M",
"status": "out_for_delivery",
"shippedAt": "2024-08-12T12:59:07.684Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-08-21T21:02:13.224Z",
"createdAt": "2024-08-12T12:59:07.684Z"
}