Create an Expenditure
This endpoint creates an individual custom expenditure for a client.
Headers
-
Content-Type string
-
Accept string
Path parameters
-
The uuid of the client.
-
The uuid of the parent Life Stage.
POST
/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom
curl \
-X POST https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/custom \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"name": "Electricity",
"uuid": "fba346e2-fb3c-41bd-9c09-a7f727d01921",
"section": "Housekeeping Expenses",
"created_at": "2025-01-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00"
}