Update a portfolio

PUT /api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/portfolios/{uuid}

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • plan_uuid string Required
  • subAccount_uuid string Required
  • uuid string Required
application/json

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.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • is_proposed boolean

      Denotes if the portfolio is proposed

    • proposed_at string

      The date the portfolio was proposed.

    • name string

      The name 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/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed/portfolios/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: 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
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": "492e6b79-d203-4f90-85bb-1e33dab3c682",
  "created_at": "2025-06-26T11:37:08+01:00",
  "updated_at": "2025-06-26T11:37:08+01:00",
  "is_proposed": true,
  "proposed_at": "2025-06-26T00:00:00+01:00"
}