shipments / #133
- orderId
- orders/238
- carrier
- fedex
- trackingNumber
- 0UC78C35JF67NENK
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#133
#133
Small
shipments/133 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/133" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/133"
);
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/133"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/133"
)
shipment = res.json() {
"id": 133,
"orderId": 238,
"carrier": "fedex",
"trackingNumber": "0UC78C35JF67NENK",
"status": "in_transit",
"shippedAt": "2024-06-20T18:10:04.689Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-06-30T02:08:42.439Z",
"createdAt": "2024-06-20T18:10:04.689Z"
}