orders / #166
- userId
-
Cayla Farrell @cayla_farrell
- status
- cancelled
- currency
- USD
- subtotal
- 2284.41
- tax
- 199.89
- shipping
- 0
- total
- 2484.3
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#166
#166
Small
orders/166 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/166" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/166"
);
const order = await res.json();import type { Order } from "https://example-data.com/types/orders.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/orders/166"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/166"
)
order = res.json() {
"id": 166,
"userId": 4,
"status": "cancelled",
"currency": "USD",
"subtotal": 2284.41,
"tax": 199.89,
"shipping": 0,
"total": 2484.3,
"placedAt": "2025-10-03T11:00:15.433Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2025-10-03T11:00:15.433Z",
"updatedAt": "2025-10-03T11:00:15.433Z"
}