Update a plan's ownership without updating the rest of the plan Run in API Explorer
Responses
-
Hide response attributes Show response attributes object
-
Hide main_account attributes Show main_account attributes object
-
Hide sub_accounts attributes Show sub_accounts attributes object
-
Hide covers attributes Show covers attributes object
-
Hide benefit_amount attributes Show benefit_amount attributes object
-
Hide excess attributes Show excess attributes object
-
Hide claims attributes Show claims attributes object
-
Hide claim_amount attributes Show claim_amount attributes object
-
Hide total_benefit_amount attributes Show total_benefit_amount attributes object
-
Hide total_benefits attributes Show total_benefits attributes object
-
Hide critical_illness attributes Show critical_illness attributes object
-
Hide family_income_benefit attributes Show family_income_benefit attributes object
-
-
Hide latest_valuations attributes Show latest_valuations attributes object
-
Hide value attributes Show value attributes object
-
Hide value attributes Show value attributes object
-
Hide client attributes Show client attributes object
-
Hide accounts attributes Show accounts attributes object
-
Hide seller attributes Show seller attributes object
-
Hide linked_owners attributes Show linked_owners attributes object
-
Hide linked_plans attributes Show linked_plans attributes object
-
Hide total_benefit_amount attributes Show total_benefit_amount attributes object
-
Hide total_benefits attributes Show total_benefits attributes object
-
Hide critical_illness attributes Show critical_illness attributes object
-
Hide family_income_benefit attributes Show family_income_benefit attributes object
-
-
Hide value attributes Show value attributes object
-
Hide cases attributes Show cases attributes object
-
Hide value attributes Show value attributes object
-
Hide wrap attributes Show wrap attributes object
-
Hide total_benefit_amount attributes Show total_benefit_amount attributes object
-
Hide total_benefits attributes Show total_benefits attributes object
-
Hide critical_illness attributes Show critical_illness attributes object
-
Hide family_income_benefit attributes Show family_income_benefit attributes object
-
-
Hide value attributes Show value attributes object
-
Hide wrap_children attributes Show wrap_children attributes object
-
Hide total_benefit_amount attributes Show total_benefit_amount attributes object
-
Hide total_benefits attributes Show total_benefits attributes object
-
Hide critical_illness attributes Show critical_illness attributes object
-
Hide family_income_benefit attributes Show family_income_benefit attributes object
-
-
Hide value attributes Show value attributes object
-
Hide contract_enquiry_account attributes Show contract_enquiry_account attributes object
PUT
/api/v1/plans/{plan_uuid}/ownership
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/ownership' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"accounts":[{"account_uuid":"119fa607-5ed0-48e8-94e3-df0091dcd0a8","ownership_percentage":25.0}]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"accounts": [
{
"account_uuid": "119fa607-5ed0-48e8-94e3-df0091dcd0a8",
"ownership_percentage": 25.0
}
]
}
Response examples (200)
{
"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"
}
}