Create an Expenditure

POST /api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom

This endpoint creates an individual custom expenditure for a client.

Headers

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      uuid of the Life Stage Field.

    • name string

      The name of the Life Stage Field.

    • section string

      The parent Life Stage Section of Field. Example: "Housekeeping Expenses"

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

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"
}