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":"6c34599b-8db4-498a-ada9-c372bd4ef783"}'
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": "6c34599b-8db4-498a-ada9-c372bd4ef783"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "1d46326e-4af3-41f2-8a6c-29909eaf704a",
"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-24T10:15:11+01:00",
"updated_at": "2025-06-24T10:15:11+01:00",
"life_stage_uuid": "2a6e9025-0e84-4843-92bb-e608667a23b3",
"life_stage_field_uuid": "f316f2c8-1c8e-4421-a2b5-ac78313ba164",
"life_stage_section_uuid": "19a83461-4c0d-4799-85a9-e03297f72862"
}