---
title: "Add a purchase"
method: POST
path: "/v1/holdings"
tags: ["Portfolio"]
---

# Add a purchase

`POST /v1/holdings`

## Request

- Base URL: `https://api.troystack.ai`
- URL: `https://api.troystack.ai/v1/holdings`
- Auth: HTTP bearer

## Request body

- object
  - `metal` 'gold' | 'silver' | 'platinum' | 'palladium', required
  - `product_name` string
  - `quantity` integer, required
  - `weight_oz` number, required
  - `purchase_price` number, required: Price per unit
  - `dealer` string
  - `purchase_date` string, date

## Response `201`

Holding created

---

[API](https://skmtc.dev/troystack/apis/troystack-api.md) · [All operations](https://skmtc.dev/troystack/apis/troystack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/troystack/apis/troystack-api/revisions/c9992aa67a80?raw)
