stock-holdings / #56
- userId
-
Izaiah Rempel @izaiah_rempel
- stockId
- stocks/46
- quantity
- 525.1835
- costBasis
- 3112.61
- purchasedAt
Component variants
Medium
#56
#56
Small
stock-holdings/56 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/56" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/56"
);
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/56"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/56"
)
stock_holding = res.json() {
"id": 56,
"userId": 31,
"stockId": 46,
"quantity": 525.1835,
"costBasis": 3112.61,
"purchasedAt": "2026-04-11T00:51:05.813Z"
}