stock-holdings / #67
- userId
-
Karlee Hudson-Turner @karlee.hudson-turner88
- stockId
- stocks/43
- quantity
- 673.5014
- costBasis
- 4280.29
- purchasedAt
Component variants
Medium
#67
#67
Small
stock-holdings/67 Related
curl -sS \
"https://example-data.com/api/v1/stock-holdings/67" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/67"
);
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/67"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/67"
)
stock_holding = res.json() {
"id": 67,
"userId": 36,
"stockId": 43,
"quantity": 673.5014,
"costBasis": 4280.29,
"purchasedAt": "2025-11-12T09:36:16.350Z"
}