Skip to content

Edit a fill.

PUT
/api/positions/{id}/fills/{fillId}
curl --request PUT \
--url https://api.tradr.cloud/api/positions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/fills/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--data '{ "fees": "example", "filledAt": "2026-04-15T12:00:00Z", "notes": "example", "price": "example", "quantity": "example" }'

Authed. Corrects a recorded fill and recomputes the position’s derived figures. type is immutable — an entry cannot become an exit; delete the fill and add the right one instead. Every field is optional; only what you send changes.

id
required
string format: uuid
fillId
required
string format: uuid
Media typeapplication/json
object
fees

Non-negative decimal.

string
filledAt
string format: date-time
notes
string
nullable <= 10000 characters
price

Non-negative decimal.

string
quantity

Positive decimal.

string
Examplegenerated
{
"fees": "example",
"filledAt": "2026-04-15T12:00:00Z",
"notes": "example",
"price": "example",
"quantity": "example"
}

The updated fill.

Validation error: an exit quantity beyond the available entry quantity, or a fractional quantity on an options position.

No such position or fill for this user.

The change would leave the position inconsistent with its other fills.