PUT /api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/valuations/{uuid}

Path parameters

  • plan_uuid string Required
  • subAccount_uuid string Required
  • uuid string Required
application/json

Body

  • value integer Required

    Money value of the valuation as an integer eg 4000 = £40.00

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string
    • created_at string
    • updated_at string
    • valued_at string
    • value object
      Hide value attributes Show value 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
    • sub_account object
      Hide sub_account attributes Show sub_account attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • policy_number string
      • latest_valuation string
      • is_main_account boolean
      • active_portfolio string
      • statistics object
        Hide statistics attribute Show statistics attribute object
        • recent_growth integer
PUT /api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/valuations/{uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed/valuations/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"value":4000}'
Request examples
{
  "value": 4000
}
Response examples (200)
[
  {
    "uuid": "bcf327a9-2e55-4aa7-a65c-ff2188885e72",
    "value": {
      "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"
      }
    },
    "valued_at": "2025-12-24T11:02:59+00:00",
    "created_at": "2025-12-24T11:02:59+00:00",
    "updated_at": "2025-12-24T11:02:59+00:00",
    "sub_account": {
      "name": "John's ISA",
      "uuid": "72488512-d214-4645-b3d2-5b78c259de63",
      "created_at": "2025-12-24T11:02:59+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2025-12-24T11:02:59+00:00",
      "policy_number": "AVI-4837",
      "is_main_account": false,
      "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
      "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
    }
  }
]