orders / #228
- userId
-
Jabari Farrell @jabari_farrell75
- status
- refunded
- currency
- USD
- subtotal
- 498.5
- tax
- 43.62
- shipping
- 0
- total
- 542.12
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#228
#228
Small
orders/228 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/228" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/228"
);
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/228"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/228"
)
order = res.json() {
"id": 228,
"userId": 240,
"status": "refunded",
"currency": "USD",
"subtotal": 498.5,
"tax": 43.62,
"shipping": 0,
"total": 542.12,
"placedAt": "2025-04-04T17:09:56.157Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2025-04-04T17:09:56.157Z",
"updatedAt": "2025-04-04T17:09:56.157Z"
}