orders / #34
- userId
-
Gudrun Brakus @gudrun_brakus
- status
- delivered
- currency
- USD
- subtotal
- 527.35
- tax
- 46.14
- shipping
- 0
- total
- 573.49
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/34" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/34"
);
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/34"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/34"
)
order = res.json() {
"id": 34,
"userId": 230,
"status": "delivered",
"currency": "USD",
"subtotal": 527.35,
"tax": 46.14,
"shipping": 0,
"total": 573.49,
"placedAt": "2026-04-28T23:17:23.467Z",
"shippedAt": "2026-05-01T02:04:01.113Z",
"deliveredAt": "2026-05-06T12:23:56.734Z",
"createdAt": "2026-04-28T23:17:23.467Z",
"updatedAt": "2026-05-06T12:23:56.734Z"
}