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":"89d6a764-22d9-4e8d-9851-dcb17a701dda"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "89d6a764-22d9-4e8d-9851-dcb17a701dda"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "b6012f33-82b5-4f02-81ec-ed682d22eccd",
"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-09T11:57:57+01:00",
"updated_at": "2026-04-09T11:57:57+01:00",
"life_stage_uuid": "e19d55a6-e4f9-4ee0-abb1-0e79716226d2",
"life_stage_field_uuid": "5b5a0ae1-907f-47e8-ba54-496938d34c17",
"life_stage_section_uuid": "10917b7b-13ad-40d9-aafa-323422b3e094"
}