stock-holdings / #189
- userId
-
Filiberto Fay @filiberto.fay59
- stockId
- stocks/74
- quantity
- 870.3937
- costBasis
- 199.98
- purchasedAt
Component variants
Medium
#189
#189
Small
stock-holdings/189 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/189" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/189"
);
const stockHolding = await res.json();import type { StockHolding } from "https://example-data.com/types/stock-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/189"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/189"
)
stock_holding = res.json() {
"id": 189,
"userId": 92,
"stockId": 74,
"quantity": 870.3937,
"costBasis": 199.98,
"purchasedAt": "2025-08-01T17:08:15.146Z"
}