---
title: "Update Portfolio Position"
method: PUT
path: "/api/portfolio/positions/{position_id}"
tags: ["portfolio"]
---

# Update Portfolio Position

`PUT /api/portfolio/positions/{position_id}`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/portfolio/positions/{position_id}`
- Auth: HTTP bearer

Update an existing portfolio position

## Path parameters

- `position_id` string, required

## Request body

- PortfolioPositionUpdate: Portfolio position update model
  - `cost_price` number, nullable
  - `quantity` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
