orders / #222
- userId
-
Esperanza Casper @esperanza_casper
- status
- shipped
- currency
- USD
- subtotal
- 1260.84
- tax
- 110.32
- shipping
- 0
- total
- 1371.16
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#222
#222
Small
orders/222 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/222" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/222"
);
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/222"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/222"
)
order = res.json() {
"id": 222,
"userId": 97,
"status": "shipped",
"currency": "USD",
"subtotal": 1260.84,
"tax": 110.32,
"shipping": 0,
"total": 1371.16,
"placedAt": "2026-02-13T00:16:17.068Z",
"shippedAt": "2026-02-15T11:23:15.052Z",
"deliveredAt": null,
"createdAt": "2026-02-13T00:16:17.068Z",
"updatedAt": "2026-02-15T11:23:15.052Z"
}