shipments / #96
- orderId
- orders/168
- carrier
- usps
- trackingNumber
- IAQAI8SG2J5L3TZD
- status
- in_transit
- shippedAt
- deliveredAt
- —
- estimatedDeliveryAt
- createdAt
Component variants
Medium
#96
#96
Small
shipments/96 Related
References
curl -sS \
"https://example-data.com/api/v1/shipments/96" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/shipments/96"
);
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/96"
);
const shipment = (await res.json()) as Shipment;import requests
res = requests.get(
"https://example-data.com/api/v1/shipments/96"
)
shipment = res.json() {
"id": 96,
"orderId": 168,
"carrier": "usps",
"trackingNumber": "IAQAI8SG2J5L3TZD",
"status": "in_transit",
"shippedAt": "2024-09-09T06:10:34.990Z",
"deliveredAt": null,
"estimatedDeliveryAt": "2024-09-17T21:28:25.574Z",
"createdAt": "2024-09-09T06:10:34.990Z"
}