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":"ed9f0a27-2d6a-4ada-b29f-faf19feb1447"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "ed9f0a27-2d6a-4ada-b29f-faf19feb1447"
}
Response examples (200)
{
"uuid": "9fd298d7-f3e7-44bb-9721-8964fb0d5972",
"created_at": "2026-05-19T18:31:17+01:00",
"updated_at": "2026-05-19T18:31:17+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": "01358357-2cfb-4355-842a-4279dca99736",
"life_stage_section_uuid": "7bf6f44a-6a2d-4afc-afb3-bf9b9ef3abd0",
"life_stage_field_uuid": "7aa8a75c-3463-4f80-90b2-d519984aa795",
"accounts": "[]"
}