orders / #130
- userId
-
Gudrun Brakus @gudrun_brakus
- status
- pending
- currency
- USD
- subtotal
- 1431.29
- tax
- 125.24
- shipping
- 0
- total
- 1556.53
- placedAt
- shippedAt
- —
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#130
#130
Small
orders/130 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/130" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/130"
);
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/130"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/130"
)
order = res.json() {
"id": 130,
"userId": 230,
"status": "pending",
"currency": "USD",
"subtotal": 1431.29,
"tax": 125.24,
"shipping": 0,
"total": 1556.53,
"placedAt": "2024-10-13T01:09:55.098Z",
"shippedAt": null,
"deliveredAt": null,
"createdAt": "2024-10-13T01:09:55.098Z",
"updatedAt": "2024-10-13T01:09:55.098Z"
}