orders / #128
- userId
-
Lemuel Jast @lemuel.jast27
- status
- confirmed
- currency
- USD
- subtotal
- 3081.09
- tax
- 269.6
- shipping
- 0
- total
- 3350.69
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#128
#128
Small
orders/128 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/128" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/128"
);
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/128"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/128"
)
order = res.json() {
"id": 128,
"userId": 105,
"status": "confirmed",
"currency": "USD",
"subtotal": 3081.09,
"tax": 269.6,
"shipping": 0,
"total": 3350.69,
"placedAt": "2024-10-31T08:04:08.168Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-10-31T08:04:08.168Z",
"updatedAt": "2024-10-31T08:04:08.168Z"
}