orders / #19
- userId
-
Ruben Terry @ruben.terry
- status
- pending
- currency
- USD
- subtotal
- 1521.79
- tax
- 133.16
- shipping
- 0
- total
- 1654.95
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/19" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/19"
);
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/19"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/19"
)
order = res.json() {
"id": 19,
"userId": 91,
"status": "pending",
"currency": "USD",
"subtotal": 1521.79,
"tax": 133.16,
"shipping": 0,
"total": 1654.95,
"placedAt": "2026-02-01T20:30:34.399Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2026-02-01T20:30:34.399Z",
"updatedAt": "2026-02-01T20:30:34.399Z"
}