orders / #51
- userId
-
Jensen Bashirian @jensen_bashirian
- status
- delivered
- currency
- USD
- subtotal
- 1013.25
- tax
- 88.66
- shipping
- 0
- total
- 1101.91
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/51" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/51"
);
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/51"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/51"
)
order = res.json() {
"id": 51,
"userId": 29,
"status": "delivered",
"currency": "USD",
"subtotal": 1013.25,
"tax": 88.66,
"shipping": 0,
"total": 1101.91,
"placedAt": "2025-12-02T07:00:43.631Z",
"shippedAt": "2025-12-04T09:47:33.283Z",
"deliveredAt": "2025-12-10T18:36:28.479Z",
"createdAt": "2025-12-02T07:00:43.631Z",
"updatedAt": "2025-12-10T18:36:28.479Z"
}