Update an Expenditure

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

This endpoint creates an individual expenditure for a client.

Path parameters

  • client_uuid string Required

    The uuid of the client.

  • lifeStage_uuid string Required

    The uuid of the parent Life Stage.

  • expenditure_uuid string Required
application/json

Body Required

  • amount integer Required

    The amount of the expenditure in pennies.

  • life_stage_section_uuid string

    The life stage section UUID.

Responses

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

      UUID of the Expenditure

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • name string

      The name of the Expenditure.

    • section string

      The Life Stage Section of the Expenditure.

    • amount object

      The amount of the Expenditure.

      Hide amount attributes Show amount attributes object
      • amount object
        Hide amount attributes Show amount attributes object
        • example string
        • description string
      • formatted object
        Hide formatted attributes Show formatted attributes object
        • example string
        • description string
      • currency object
        Hide currency attributes Show currency attributes object
        • example string
        • description string
    • position string

      The position/order of the Expenditure in any listing.

    • life_stage_uuid string

      UUID of the Life Stage

    • life_stage_section_uuid string

      UUID of the parent Life Stage Section

    • life_stage_field_uuid string

      UUID of the parent Life Stage Field

POST /api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom/{expenditure_uuid}
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/custom/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"amount":50000,"life_stage_section_uuid":"e976a71b-7589-467a-a30c-9028d3ee0e09"}'
Request examples
{
  "amount": 50000,
  "life_stage_section_uuid": "e976a71b-7589-467a-a30c-9028d3ee0e09"
}
Response examples (200)
{
  "name": "Electricity",
  "uuid": "0d13d158-1e0f-4378-882d-f604faff1576",
  "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": "2025-06-26T11:37:04+01:00",
  "updated_at": "2025-06-26T11:37:04+01:00",
  "life_stage_uuid": "f18ddea4-1c1a-4f24-a955-2b94cc38b537",
  "life_stage_field_uuid": "165d9290-29f3-4b0c-99bd-1a563065b2e2",
  "life_stage_section_uuid": "d663bddb-60e1-49dd-9459-e5baa8af5db4"
}