orders / #41
- userId
-
Filiberto Fay @filiberto.fay59
- status
- shipped
- currency
- USD
- subtotal
- 3397.37
- tax
- 297.27
- shipping
- 0
- total
- 3694.64
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/41" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/41"
);
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/41"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/41"
)
order = res.json() {
"id": 41,
"userId": 92,
"status": "shipped",
"currency": "USD",
"subtotal": 3397.37,
"tax": 297.27,
"shipping": 0,
"total": 3694.64,
"placedAt": "2025-05-03T23:55:44.448Z",
"shippedAt": "2025-05-05T23:15:13.894Z",
"deliveredAt": null,
"createdAt": "2025-05-03T23:55:44.448Z",
"updatedAt": "2025-05-05T23:15:13.894Z"
}