Update a beneficiary of a plan
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body
-
name string
Name of the beneficiary.
-
percentage number
Percentage due to the beneficiary.
PUT
/api/v1/plans/{plan_uuid}/beneficiary/{uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/plans/plan_uuid/beneficiary/uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"name":"John Smith","percentage":50.75}'
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": "John Smith",
"percentage": 50.75
}
Response examples (200)
{
"name": "Beneficiary name",
"uuid": "687a17fd-71ac-424b-80c6-9475783888ab",
"cover": {
"uuid": "1d9e8a0d-a42a-4d36-9962-71e018a1a787",
"client": "App\\Http\\Resources\\AccountResource",
"excess": {
"amount": {
"example": "10000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£100.00",
"description": "Money amount formatted with currency"
}
},
"cover_type": "critical_illness",
"created_at": "2025-01-17T11:18:31+00:00",
"indexation": 1.4,
"updated_at": "2025-01-17T11:18:31+00:00",
"benefit_amount": {
"amount": {
"example": "25000000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£250,000.00",
"description": "Money amount formatted with currency"
}
},
"benefit_status": "active",
"benefit_frequency": "monthly"
},
"created_at": "2025-01-17T11:18:31+00:00",
"percentage": 50,
"updated_at": "2025-01-17T11:18:31+00:00"
}