Create or Update an Expenditure
This endpoint creates an individual expenditure for a client.
Path parameters
-
The uuid of the client.
-
The uuid of the parent Life Stage.
-
The uuid of the parent Life Stage Field.
POST
/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/{lifeStageField_uuid}
curl \
--request POST 'https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/dcf0-484e-a0c5-08590fe89a84-f6aa1670' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"amount":50000,"life_stage_section_uuid":"7018e68f-34db-4a48-8dc9-3b1255144eb6"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "7018e68f-34db-4a48-8dc9-3b1255144eb6"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "16620e56-674e-4e00-83dc-64847639deee",
"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-08-07T13:41:39+01:00",
"updated_at": "2025-08-07T13:41:39+01:00",
"life_stage_uuid": "2c39991f-1ed4-47e7-8bd3-af2fe90583a9",
"life_stage_field_uuid": "baaf6149-9615-48c6-beb4-79ac6f266fa7",
"life_stage_section_uuid": "45e6831d-6438-4b49-aeec-83af07208912"
}