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":"9c57f698-060c-48d6-86df-f0e06f94c98d"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "9c57f698-060c-48d6-86df-f0e06f94c98d"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "8c6244de-c04b-4389-8c72-7600ffcdf9cc",
"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-03-18T16:05:25+00:00",
"updated_at": "2026-03-18T16:05:25+00:00",
"life_stage_uuid": "1f16342c-5992-4b7c-afb7-7a28be5167d9",
"life_stage_field_uuid": "f765820f-8edb-4ede-8639-7277dfe4a506",
"life_stage_section_uuid": "b25841c6-f96b-4aec-b55d-cf007f631d92"
}