orders / #200
- userId
-
Jamaal Rolfson @jamaal_rolfson
- status
- shipped
- currency
- USD
- subtotal
- 1700.11
- tax
- 148.76
- shipping
- 0
- total
- 1848.87
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#200
#200
Small
orders/200 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/200" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/200"
);
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/200"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/200"
)
order = res.json() {
"id": 200,
"userId": 207,
"status": "shipped",
"currency": "USD",
"subtotal": 1700.11,
"tax": 148.76,
"shipping": 0,
"total": 1848.87,
"placedAt": "2024-07-30T09:24:28.315Z",
"shippedAt": "2024-08-01T13:57:37.490Z",
"deliveredAt": null,
"createdAt": "2024-07-30T09:24:28.315Z",
"updatedAt": "2024-08-01T13:57:37.490Z"
}