orders / #168
- userId
-
Brycen Bayer @brycen_bayer60
- status
- shipped
- currency
- USD
- subtotal
- 2331.19
- tax
- 203.98
- shipping
- 0
- total
- 2535.17
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#168
#168
Small
orders/168 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/168" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/168"
);
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/168"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/168"
)
order = res.json() {
"id": 168,
"userId": 6,
"status": "shipped",
"currency": "USD",
"subtotal": 2331.19,
"tax": 203.98,
"shipping": 0,
"total": 2535.17,
"placedAt": "2024-09-08T00:30:03.551Z",
"shippedAt": "2024-09-09T06:10:34.990Z",
"deliveredAt": null,
"createdAt": "2024-09-08T00:30:03.551Z",
"updatedAt": "2024-09-09T06:10:34.990Z"
}