shipments / #158
- orderId
- orders/308
- carrier
- fedex
- trackingNumber
- JUPFZNILJ90E4UGF
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#158
#158
Small
shipments/158 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/158" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/158"
);
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/158"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/158"
)
shipment = res.json() {
"id": 158,
"orderId": 308,
"carrier": "fedex",
"trackingNumber": "JUPFZNILJ90E4UGF",
"status": "in_transit",
"shippedAt": "2024-07-30T12:41:47.020Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-08-03T21:08:19.123Z",
"createdAt": "2024-07-30T12:41:47.020Z"
}