orders / #57
- userId
-
Jennifer Hoeger @jennifer.hoeger
- status
- cancelled
- currency
- USD
- subtotal
- 6.81
- tax
- 0.6
- shipping
- 9.99
- total
- 17.4
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/57" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/57"
);
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/57"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/57"
)
order = res.json() {
"id": 57,
"userId": 119,
"status": "cancelled",
"currency": "USD",
"subtotal": 6.81,
"tax": 0.6,
"shipping": 9.99,
"total": 17.4,
"placedAt": "2026-01-13T19:48:52.661Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2026-01-13T19:48:52.661Z",
"updatedAt": "2026-01-13T19:48:52.661Z"
}