orders / #135
- userId
-
Lazaro Herzog @lazaro_herzog
- status
- shipped
- currency
- USD
- subtotal
- 999.1
- tax
- 87.42
- shipping
- 0
- total
- 1086.52
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#135
#135
Small
orders/135 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/135" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/135"
);
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/135"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/135"
)
order = res.json() {
"id": 135,
"userId": 181,
"status": "shipped",
"currency": "USD",
"subtotal": 999.1,
"tax": 87.42,
"shipping": 0,
"total": 1086.52,
"placedAt": "2024-10-11T21:12:45.891Z",
"shippedAt": "2024-10-13T08:13:34.534Z",
"deliveredAt": null,
"createdAt": "2024-10-11T21:12:45.891Z",
"updatedAt": "2024-10-13T08:13:34.534Z"
}