Update an Expenditure
This endpoint creates an individual expenditure for a client.
Headers
-
Content-Type
string -
Accept
string
Path parameters
-
client_uuid
string Required The uuid of the client.
-
lifeStage_uuid
string Required The uuid of the parent Life Stage.
-
expenditure_uuid
string Required
Body
Required
-
amount
integer Required The amount of the expenditure in pennies.
-
life_stage_section_uuid
string The life stage section UUID.
POST
/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom/{expenditure_uuid}
curl \
--request POST 'https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/custom/expenditure_uuid' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"amount":50000,"life_stage_section_uuid":"13283fe3-640a-4694-969b-9c3cdf426e94"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"amount": 50000,
"life_stage_section_uuid": "13283fe3-640a-4694-969b-9c3cdf426e94"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "1c9af248-2322-421a-9d37-d295679d7af6",
"amount": {
"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"
}
},
"section": "Housekeeping Expenses",
"position": "1",
"created_at": "2025-06-04T16:49:34+01:00",
"updated_at": "2025-06-04T16:49:34+01:00",
"life_stage_uuid": "31dd582c-b500-49d0-ad1f-8d9427566a66",
"life_stage_field_uuid": "d89babf9-de13-4bbc-9e1e-fd6715c79b84",
"life_stage_section_uuid": "dd0f001c-f3df-43d0-8d02-170a2a37ea23"
}