Create or Update an Expenditure Run in API Explorer
Ask AI
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":"ce8add8c-1390-4e64-8c62-4fc4f893113b"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "ce8add8c-1390-4e64-8c62-4fc4f893113b"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "829befc3-b0fe-42a4-b3de-247311eb2f15",
"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": "2026-04-08T15:40:46+01:00",
"updated_at": "2026-04-08T15:40:46+01:00",
"life_stage_uuid": "7ef0d0cf-ac3b-44bb-92ce-8586f84bfa05",
"life_stage_field_uuid": "d86b4ff3-3e6f-4c62-9d0f-d9843e6f0fcf",
"life_stage_section_uuid": "1b253054-eb35-4585-9cc8-e56ba4cc75a6"
}