orders / #171
- userId
-
Tabitha McKenzie @tabitha_mckenzie
- status
- refunded
- currency
- USD
- subtotal
- 1249.73
- tax
- 109.35
- shipping
- 0
- total
- 1359.08
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#171
#171
Small
orders/171 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/171" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/171"
);
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/171"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/171"
)
order = res.json() {
"id": 171,
"userId": 98,
"status": "refunded",
"currency": "USD",
"subtotal": 1249.73,
"tax": 109.35,
"shipping": 0,
"total": 1359.08,
"placedAt": "2024-09-18T22:58:39.576Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-09-18T22:58:39.576Z",
"updatedAt": "2024-09-18T22:58:39.576Z"
}