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":"949b6fda-fa90-4ae0-930f-bf16c92c03a6"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "949b6fda-fa90-4ae0-930f-bf16c92c03a6"
}
Response examples (200)
{
"uuid": "46b7576a-9485-46d4-896d-23d43a098bc3",
"created_at": "2026-06-08T16:08:02+01:00",
"updated_at": "2026-06-08T16:08:02+01:00",
"name": "Electricity",
"section": "Housekeeping Expenses",
"amount": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
}
},
"position": "1",
"life_stage_uuid": "5e4d48bb-33b0-49f5-9686-0546587be6ce",
"life_stage_section_uuid": "b218cd8d-3e9f-4ce7-ac5c-f8e30cfbdbde",
"life_stage_field_uuid": "daa7df39-6c1b-4056-b158-283cab9ba46d",
"accounts": "[]"
}