orders / #101
- userId
-
Amari Koch @amari.koch
- status
- confirmed
- currency
- USD
- subtotal
- 257.47
- tax
- 22.53
- shipping
- 0
- total
- 280
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#101
#101
Small
orders/101 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/101" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/101"
);
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/101"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/101"
)
order = res.json() {
"id": 101,
"userId": 130,
"status": "confirmed",
"currency": "USD",
"subtotal": 257.47,
"tax": 22.53,
"shipping": 0,
"total": 280,
"placedAt": "2024-12-21T01:03:28.190Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-12-21T01:03:28.190Z",
"updatedAt": "2024-12-21T01:03:28.190Z"
}