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 \
 --request POST https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/custom \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json"
Response examples (200)
{
  "name": "Electricity",
  "uuid": "1697be94-7eb0-4141-b18e-03afb58a7aea",
  "section": "Housekeeping Expenses",
  "created_at": "2025-02-20T10:13:01+00:00",
  "updated_at": "2025-02-20T10:13:01+00:00"
}