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":"d268252a-a2d6-42f7-85ae-9b5cff77b6db"}'
Request examples
{
"name": "Johns ISA",
"policy_number": "AVF-4355432",
"proposal_reference": "BtMWiy0JwHtogU4",
"active_portfolio_uuid": "d268252a-a2d6-42f7-85ae-9b5cff77b6db"
}
Response examples (200)
{
"uuid": "9fbccd98-f584-4d09-8a61-28b866aa046c",
"created_at": "2026-05-20T13:55:09+01:00",
"updated_at": "2026-05-20T13:55:09+01:00",
"name": "John's ISA",
"policy_number": "AVI-4837",
"latest_valuation": {
"uuid": "1e399ed9-2f6b-4e8e-9181-968ead637f81",
"created_at": "2026-05-20T13:55:09+01:00",
"updated_at": "2026-05-20T13:55:09+01:00",
"valued_at": "2026-05-20T13:55:09+01:00",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
}
},
"sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
},
"is_main_account": false,
"active_portfolio": {
"uuid": "5f2f5fa8-fc3a-41ec-848e-5c8c159798f8",
"created_at": "2026-05-20T13:55:09+01:00",
"updated_at": "2026-05-20T13:55:09+01:00",
"is_proposed": true,
"proposed_at": "2026-05-20T00:00:00+01:00",
"name": "Risky Portfolio"
},
"statistics": {
"recent_growth": 100
}
}