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":"36f8428d-5019-4cbc-9eec-252f55dec6d4"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "36f8428d-5019-4cbc-9eec-252f55dec6d4"
}
Response examples (200)
{
"uuid": "b46b85ca-243d-4090-8408-01e2371f2233",
"created_at": "2026-06-29T09:35:40+01:00",
"updated_at": "2026-06-29T09:35:40+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": "606eea4f-df84-4fdb-ae7b-d163123d0aa7",
"life_stage_section_uuid": "17293750-de70-4a76-bf45-8dd5a6c86765",
"life_stage_field_uuid": "2b9521a7-b477-4161-86b3-8762eee9d0f5",
"accounts": "[]"
}