orders / #405
- userId
-
Matilde Beahan @matilde_beahan
- status
- delivered
- currency
- USD
- subtotal
- 936.38
- tax
- 81.93
- shipping
- 0
- total
- 1018.31
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#405
#405
Small
orders/405 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/405" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/405"
);
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/405"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/405"
)
order = res.json() {
"id": 405,
"userId": 96,
"status": "delivered",
"currency": "USD",
"subtotal": 936.38,
"tax": 81.93,
"shipping": 0,
"total": 1018.31,
"placedAt": "2024-07-25T18:20:41.294Z",
"shippedAt": "2024-07-27T14:38:57.125Z",
"deliveredAt": "2024-08-01T06:14:35.731Z",
"createdAt": "2024-07-25T18:20:41.294Z",
"updatedAt": "2024-08-01T06:14:35.731Z"
}