orders / #300
- userId
-
Lennie Dickinson @lennie_dickinson8
- status
- shipped
- currency
- USD
- subtotal
- 4276.49
- tax
- 374.19
- shipping
- 0
- total
- 4650.68
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#300
#300
Small
orders/300 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/300" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/300"
);
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/300"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/300"
)
order = res.json() {
"id": 300,
"userId": 121,
"status": "shipped",
"currency": "USD",
"subtotal": 4276.49,
"tax": 374.19,
"shipping": 0,
"total": 4650.68,
"placedAt": "2025-03-07T05:58:01.699Z",
"shippedAt": "2025-03-10T03:04:47.213Z",
"deliveredAt": null,
"createdAt": "2025-03-07T05:58:01.699Z",
"updatedAt": "2025-03-10T03:04:47.213Z"
}