orders / #167
- userId
-
Conrad Connelly @conrad.connelly22
- status
- delivered
- currency
- USD
- subtotal
- 1815.29
- tax
- 158.84
- shipping
- 0
- total
- 1974.13
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#167
#167
Small
orders/167 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/167" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/167"
);
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/167"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/167"
)
order = res.json() {
"id": 167,
"userId": 30,
"status": "delivered",
"currency": "USD",
"subtotal": 1815.29,
"tax": 158.84,
"shipping": 0,
"total": 1974.13,
"placedAt": "2024-10-13T05:53:22.385Z",
"shippedAt": "2024-10-14T13:14:20.706Z",
"deliveredAt": "2024-10-19T22:08:48.925Z",
"createdAt": "2024-10-13T05:53:22.385Z",
"updatedAt": "2024-10-19T22:08:48.925Z"
}