orders / #105
- userId
-
Samson Stroman @samson_stroman
- status
- delivered
- currency
- USD
- subtotal
- 372.92
- tax
- 32.63
- shipping
- 0
- total
- 405.55
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#105
#105
Small
orders/105 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/105" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/105"
);
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/105"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/105"
)
order = res.json() {
"id": 105,
"userId": 52,
"status": "delivered",
"currency": "USD",
"subtotal": 372.92,
"tax": 32.63,
"shipping": 0,
"total": 405.55,
"placedAt": "2024-11-17T20:46:15.635Z",
"shippedAt": "2024-11-20T05:04:12.950Z",
"deliveredAt": "2024-11-23T22:27:18.355Z",
"createdAt": "2024-11-17T20:46:15.635Z",
"updatedAt": "2024-11-23T22:27:18.355Z"
}