orders / #364
- userId
-
Leora Doyle @leora_doyle
- status
- shipped
- currency
- USD
- subtotal
- 301.78
- tax
- 26.41
- shipping
- 0
- total
- 328.19
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#364
#364
Small
orders/364 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/364" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/364"
);
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/364"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/364"
)
order = res.json() {
"id": 364,
"userId": 117,
"status": "shipped",
"currency": "USD",
"subtotal": 301.78,
"tax": 26.41,
"shipping": 0,
"total": 328.19,
"placedAt": "2025-03-24T16:53:33.547Z",
"shippedAt": "2025-03-26T13:28:17.215Z",
"deliveredAt": null,
"createdAt": "2025-03-24T16:53:33.547Z",
"updatedAt": "2025-03-26T13:28:17.215Z"
}