Update a Section for a Life Stage for a Firm
Headers
-
Content-Type string
-
Accept string
Path parameters
-
The uuid of the life stage section.
Body Required
-
The name of the Expenditure Life Stage Section.
-
has_custom_expenditures boolean
Whether the Expenditure Life Stage Section accepts custom expenditures.
PUT
/api/v1/expenditure-structure/section/{lifeStageSection_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/expenditure-structure/section/dc329ca6-bf88-43ad-a398-b2507569c941 \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"Children \u0026 Grandchildren Expenses","has_custom_expenditures":"true"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "Children & Grandchildren Expenses",
"has_custom_expenditures": "true"
}
Response examples (200)
{
"name": "House Keeping",
"uuid": "be37c8cd-d751-4592-bbe9-88d1b8db0e6a",
"fields": {
"name": "Electricity",
"uuid": "f511b007-99a0-41ef-b628-adc2bf1fc61c",
"section": "Housekeeping Expenses",
"created_at": "2025-01-17T11:18:27+00:00",
"updated_at": "2025-01-17T11:18:27+00:00"
},
"position": "1",
"created_at": "2023-06-16T15:25:06+01:00",
"updated_at": "2023-06-16T15:25:06+01:00"
}