orders / #392
- userId
-
Sandrine Osinski @sandrine.osinski
- status
- shipped
- currency
- USD
- subtotal
- 1116.87
- tax
- 97.73
- shipping
- 0
- total
- 1214.6
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#392
#392
Small
orders/392 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/392" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/392"
);
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/392"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/392"
)
order = res.json() {
"id": 392,
"userId": 157,
"status": "shipped",
"currency": "USD",
"subtotal": 1116.87,
"tax": 97.73,
"shipping": 0,
"total": 1214.6,
"placedAt": "2025-02-27T23:22:55.369Z",
"shippedAt": "2025-03-02T10:04:09.558Z",
"deliveredAt": null,
"createdAt": "2025-02-27T23:22:55.369Z",
"updatedAt": "2025-03-02T10:04:09.558Z"
}