orders / #153
- userId
-
Lemuel Jast @lemuel.jast27
- status
- delivered
- currency
- USD
- subtotal
- 1650.15
- tax
- 144.39
- shipping
- 0
- total
- 1794.54
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#153
#153
Small
orders/153 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/153" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/153"
);
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/153"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/153"
)
order = res.json() {
"id": 153,
"userId": 105,
"status": "delivered",
"currency": "USD",
"subtotal": 1650.15,
"tax": 144.39,
"shipping": 0,
"total": 1794.54,
"placedAt": "2024-06-28T03:00:25.810Z",
"shippedAt": "2024-06-30T12:24:53.593Z",
"deliveredAt": "2024-07-04T11:21:30.253Z",
"createdAt": "2024-06-28T03:00:25.810Z",
"updatedAt": "2024-07-04T11:21:30.253Z"
}