orders / #147
- userId
-
Frederic Armstrong @frederic_armstrong96
- status
- cancelled
- currency
- USD
- subtotal
- 2362.83
- tax
- 206.75
- shipping
- 0
- total
- 2569.58
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#147
#147
Small
orders/147 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/147" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/147"
);
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/147"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/147"
)
order = res.json() {
"id": 147,
"userId": 199,
"status": "cancelled",
"currency": "USD",
"subtotal": 2362.83,
"tax": 206.75,
"shipping": 0,
"total": 2569.58,
"placedAt": "2025-03-05T23:47:38.344Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2025-03-05T23:47:38.344Z",
"updatedAt": "2025-03-05T23:47:38.344Z"
}