Update my portfolio allocation
Persist target allocation weights for the signed-in investor portfolio. The response matches GET portfolio by id, including the updated targetAllocation array.
Authorizations
Auth0-issued access token that includes the scopes listed for the route.
Headers
MongoDB identifier of the user whose portfolio is being queried.
^[a-f0-9]{24}$Body
Response
Updated portfolio view (same shape as GET portfolio by id), including holdings and target allocation.
Portfolio unique identifier.
ISO currency code for the portfolio (e.g. EUR, GBP, USD).
Array of holdings with asset details and quantities.
Target allocation by asset. Weights are persisted with the portfolio. May be an empty array when unset.
Portfolio creation timestamp.
Last update timestamp.