orders / #188
- userId
-
Cassidy Boehm @cassidy_boehm22
- status
- cancelled
- currency
- USD
- subtotal
- 247.99
- tax
- 21.7
- shipping
- 0
- total
- 269.69
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#188
#188
Small
orders/188 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/188" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/188"
);
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/188"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/188"
)
order = res.json() {
"id": 188,
"userId": 204,
"status": "cancelled",
"currency": "USD",
"subtotal": 247.99,
"tax": 21.7,
"shipping": 0,
"total": 269.69,
"placedAt": "2024-08-04T11:29:14.490Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-08-04T11:29:14.490Z",
"updatedAt": "2024-08-04T11:29:14.490Z"
}