---
title: "Update Trade"
method: PUT
path: "/api/trades/{trade_id}"
tags: ["trades", "trades"]
---

# Update Trade

`PUT /api/trades/{trade_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/trades/{trade_id}`
- Auth: HTTP bearer

Update a trade (only manual trades)

## Path parameters

- `trade_id` string, uuid, required

## Request body

- TradeUpdate: Trade update model (only manual trades can be updated)
  - `quantity` number, nullable
  - `price` number, nullable
  - `trade_date` string, date, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- APIResponse: Generic API response model
  - `success` boolean, required
  - `message` string, required
  - `data` object, nullable

## 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)
