orders / #132
- userId
-
Carmel Schultz @carmel.schultz
- status
- delivered
- currency
- USD
- subtotal
- 3175.86
- tax
- 277.89
- shipping
- 0
- total
- 3453.75
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#132
#132
Small
orders/132 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/132" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/132"
);
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/132"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/132"
)
order = res.json() {
"id": 132,
"userId": 156,
"status": "delivered",
"currency": "USD",
"subtotal": 3175.86,
"tax": 277.89,
"shipping": 0,
"total": 3453.75,
"placedAt": "2024-07-14T06:35:36.623Z",
"shippedAt": "2024-07-15T21:29:10.736Z",
"deliveredAt": "2024-07-22T10:30:45.292Z",
"createdAt": "2024-07-14T06:35:36.623Z",
"updatedAt": "2024-07-22T10:30:45.292Z"
}