Update a portfolio
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body
-
name string
The name of the portfolio. Must be unique within the sub-account it is created on.
-
is_proposed boolean
Denotes if the portfolio is proposed
-
proposed_at date
The proposed date of the portfolio.
PUT
/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/portfolios/{uuid}
curl \
--request PUT https://api.plannrcrm.com/api/v1/plans/plan_uuid/sub-accounts/subAccount_uuid/portfolios/uuid \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Risky Portfolio","is_proposed":false,"proposed_at":"2023-09-25"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Risky Portfolio",
"is_proposed": false,
"proposed_at": "2023-09-25"
}
Response examples (200)
{
"name": "Risky Portfolio",
"uuid": "acc7c900-62eb-4cd7-b7d6-19ee50e4fab2",
"created_at": "2025-02-20T10:13:04+00:00",
"updated_at": "2025-02-20T10:13:04+00:00",
"is_proposed": true,
"proposed_at": "2025-02-20T00:00:00+00:00"
}