orders / #185
- userId
-
Queen Lubowitz @queen.lubowitz76
- status
- refunded
- currency
- USD
- subtotal
- 2842.3
- tax
- 248.7
- shipping
- 0
- total
- 3091
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#185
#185
Small
orders/185 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/185" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/185"
);
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/185"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/185"
)
order = res.json() {
"id": 185,
"userId": 28,
"status": "refunded",
"currency": "USD",
"subtotal": 2842.3,
"tax": 248.7,
"shipping": 0,
"total": 3091,
"placedAt": "2024-08-12T18:38:35.788Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-08-12T18:38:35.788Z",
"updatedAt": "2024-08-12T18:38:35.788Z"
}