orders / #14
- userId
-
Queen Lubowitz @queen.lubowitz76
- status
- delivered
- currency
- USD
- subtotal
- 315.21
- tax
- 27.58
- shipping
- 0
- total
- 342.79
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/14" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/14"
);
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/14"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/14"
)
order = res.json() {
"id": 14,
"userId": 28,
"status": "delivered",
"currency": "USD",
"subtotal": 315.21,
"tax": 27.58,
"shipping": 0,
"total": 342.79,
"placedAt": "2025-04-06T22:05:33.813Z",
"shippedAt": "2025-04-09T02:29:42.449Z",
"deliveredAt": "2025-04-16T00:07:00.881Z",
"createdAt": "2025-04-06T22:05:33.813Z",
"updatedAt": "2025-04-16T00:07:00.881Z"
}