orders / #456
- userId
-
Rubye Emmerich @rubye.emmerich
- status
- delivered
- currency
- USD
- subtotal
- 166.05
- tax
- 14.53
- shipping
- 0
- total
- 180.58
- placedAt
- shippedAt
- deliveredAt
- createdAt
- updatedAt
Component variants
Medium
#456
#456
Small
orders/456 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/456" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/456"
);
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/456"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/456"
)
order = res.json() {
"id": 456,
"userId": 225,
"status": "delivered",
"currency": "USD",
"subtotal": 166.05,
"tax": 14.53,
"shipping": 0,
"total": 180.58,
"placedAt": "2024-07-15T15:14:47.650Z",
"shippedAt": "2024-07-16T17:32:00.364Z",
"deliveredAt": "2024-07-24T08:05:40.971Z",
"createdAt": "2024-07-15T15:14:47.650Z",
"updatedAt": "2024-07-24T08:05:40.971Z"
}