orders / #400
- userId
-
Lenny Howe @lenny.howe
- status
- shipped
- currency
- USD
- subtotal
- 289.69
- tax
- 25.35
- shipping
- 0
- total
- 315.04
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#400
#400
Small
orders/400 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/400" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/400"
);
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/400"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/400"
)
order = res.json() {
"id": 400,
"userId": 37,
"status": "shipped",
"currency": "USD",
"subtotal": 289.69,
"tax": 25.35,
"shipping": 0,
"total": 315.04,
"placedAt": "2024-10-26T09:08:50.676Z",
"shippedAt": "2024-10-28T03:50:11.557Z",
"deliveredAt": null,
"createdAt": "2024-10-26T09:08:50.676Z",
"updatedAt": "2024-10-28T03:50:11.557Z"
}