Portfolios
Corrects a lot that was entered wrong. Only the fields you send change. The instrument itself cannot be edited — a lot on the wrong stock or contract is a different holding, so delete it and add the right one. To record a sale, close the lot instead of editing its quantity down; editing it away loses the realized profit.
patch/v1/portfolios/{id}/lots/{lotId}
Request
- Base URLhttps://api.equibles.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The portfolio holding the lot.
lotIdstring uuid required
The lot to correct.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.