orders / #145
- userId
-
Lilly Rosenbaum @lilly.rosenbaum
- status
- cancelled
- currency
- USD
- subtotal
- 247.02
- tax
- 21.61
- shipping
- 0
- total
- 268.63
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#145
#145
Small
orders/145 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/145" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/145"
);
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/145"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/145"
)
order = res.json() {
"id": 145,
"userId": 223,
"status": "cancelled",
"currency": "USD",
"subtotal": 247.02,
"tax": 21.61,
"shipping": 0,
"total": 268.63,
"placedAt": "2025-05-08T01:45:17.799Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2025-05-08T01:45:17.799Z",
"updatedAt": "2025-05-08T01:45:17.799Z"
}