Update a shareholder

PUT /api/v2/shareholder/{uuid}

Path parameters

application/json

Body Required

  • business_uuid string Required

    The UUID of the business this shareholder should associate with. Leave null to clear the association with the current business.

  • The updated name of the shareholder.

  • role string

    The updated role of the shareholder.

  • The updated appointed date of the shareholder.

  • The updated registered address of the shareholder.

  • The updated percentage of the shareholder.

  • The updated number of shares owned by the shareholder.

  • The updated voting rights of the shareholder.

Responses

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

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • Full name of the shareholder

    • role string

      Role of the shareholder

    • Date the shareholder was appointed

    • Registered address of the shareholder

    • Percentage of shares owned by the shareholder

    • Number of shares owned by the shareholder

    • Voting rights of the shareholder

    • firm object

      Firm the shareholder is associated with

      Additional properties are allowed.

    • account object

      Business the shareholder is associated with

      Additional properties are allowed.

PUT /api/v2/shareholder/{uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v2/shareholder/uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"business_uuid":"5ad349e1-6c71-47e8-a237-dd72331467fc","full_name":"Jane Doe","role":"Clown","appointed_at":"2022-03-17","registered_address_full":"123 Main St","percentage":25.5,"shares_owned":100,"voting_rights":"All"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "business_uuid": "5ad349e1-6c71-47e8-a237-dd72331467fc",
  "full_name": "Jane Doe",
  "role": "Clown",
  "appointed_at": "2022-03-17",
  "registered_address_full": "123 Main St",
  "percentage": 25.5,
  "shares_owned": 100,
  "voting_rights": "All"
}
Response examples (200)
{
  "firm": {
    "tax": 17.5,
    "logo": "https://api.plannrcrm.com/images/plannr.jpg",
    "name": "Codepotato",
    "slug": "codepotato",
    "uuid": "e36bb900-367f-4103-85e3-6ce9f1bf1caf",
    "county": "Hampshire",
    "billing": {
      "invoice_email": "gareth@codepotato.co.uk",
      "invoice_county": "Hampshire",
      "invoice_country": "United Kingdom",
      "invoice_postcode": "PO7 7YH",
      "invoice_address_1": "Suite E, 5 The Briars",
      "invoice_address_2": "Waterberry Drive",
      "invoice_town_city": "Waterlooville"
    },
    "country": "United Kingdom",
    "postcode": "PO7 7YH",
    "address_1": "Suite E, 5 The Briars",
    "address_2": "Waterberry Drive",
    "logo_icon": "https://api.plannrcrm.com/images/plannr-icon.jpg",
    "month_end": 25,
    "town_city": "Waterlooville",
    "created_at": "2025-01-29T10:30:18+00:00",
    "updated_at": "2025-01-29T10:30:18+00:00",
    "ip_whitelist": [
      "192.168.0.1",
      "127.0.0.1"
    ],
    "brand_colours": {
      "sidebar_text": "#ffffff",
      "sidebar_hover": "#0A0A42",
      "email_sub_text": "#ffffff",
      "sidebar_accent": "#36367E",
      "sidebar_active": "#53DBB8",
      "email_background": "#0E0E56",
      "email_button_text": "#ffffff",
      "sidebar_background": "#0E0E56",
      "sidebar_title_primary": "#FFC634",
      "email_button_background": "#36367E",
      "sidebar_title_secondary": "#ffffff",
      "sidebar_title_background": "#36367E",
      "email_logo_background_panel": "#36367E",
      "sidebar_title_secondary_hover": "#ffffff"
    },
    "is_subscribed": true,
    "regulatory_text": "Regulatory text",
    "addon_subscriptions": "App\\Http\\Resources\\Addons\\AddonSubscriptionResource",
    "statement_frequency": "monthly",
    "task_board_template": "App\\Http\\Resources\\Board\\BoardResource",
    "keep_deleted_files_for": 30,
    "welcome_paragraph_html": "<h1>Welcome.</h1>",
    "email_welcome_paragraph_html": "Welcome to Plannr!"
  },
  "role": "Director",
  "uuid": "d69dd2ae-e9b9-4383-a00c-9f2d0f43c798",
  "account": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Gareth Thompson",
    "role": "client",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "client",
    "uuid": "0d287cc5-903b-457a-a052-7c8c6c96e16c",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2025-01-29T10:30:18+00:00",
    "first_name": "Gareth",
    "updated_at": "2025-01-29T10:30:18+00:00",
    "with_login": true,
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "introduced_by": "App\\Http\\Resources\\AccountResource",
    "primary_email": "App\\Http\\Resources\\ContactDetailResource",
    "can_be_deleted": "false",
    "assigned_adviser": "App\\Http\\Resources\\AccountResource",
    "next_review_date": "2025-01-29T10:30:18+00:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2025-01-29T10:30:18+00:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2025-01-29T10:30:18+00:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2025-01-29T10:30:18+00:00"
  },
  "full_name": "Martin Holmes",
  "created_at": "2025-01-29T10:30:18+00:00",
  "percentage": 46.2,
  "updated_at": "2025-01-29T10:30:18+00:00",
  "appointed_at": "2010-01-28",
  "shares_owned": 81.49,
  "voting_rights": "No",
  "registered_address_full": "213 Shaw Extensions\nWest Lola\nOX11 8JJ"
}