Update a sub account Run in API Explorer
Ask AI
PUT
/api/v1/plans/{plan_uuid}/sub-accounts/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"Johns ISA","policy_number":"AVF-4355432","proposal_reference":"BtMWiy0JwHtogU4","active_portfolio_uuid":"638a4299-6d57-4ac4-8c1e-fe2d38baaf62"}'
Request examples
{
"name": "Johns ISA",
"policy_number": "AVF-4355432",
"proposal_reference": "BtMWiy0JwHtogU4",
"active_portfolio_uuid": "638a4299-6d57-4ac4-8c1e-fe2d38baaf62"
}
Response examples (200)
{
"name": "John's ISA",
"uuid": "7c09d25c-ed74-4a24-a236-bf95213b24b4",
"created_at": "2026-04-09T17:35:06+01:00",
"statistics": {
"recent_growth": 100
},
"updated_at": "2026-04-09T17:35:06+01:00",
"policy_number": "AVI-4837",
"is_main_account": false,
"active_portfolio": {
"name": "Risky Portfolio",
"uuid": "2b815cf5-7c1e-4ce6-94eb-4540eda80b0b",
"created_at": "2026-04-09T17:35:06+01:00",
"updated_at": "2026-04-09T17:35:06+01:00",
"is_proposed": true,
"proposed_at": "2026-04-09T00:00:00+01:00"
},
"latest_valuation": {
"uuid": "adff4cb6-f810-4594-9910-c6fa561a0c1a",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"valued_at": "2026-04-09T17:35:06+01:00",
"created_at": "2026-04-09T17:35:06+01:00",
"updated_at": "2026-04-09T17:35:06+01:00",
"sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
}
}