Update firm settings

POST /api/v1/firm/{firm_uuid}/settings

Headers

Path parameters

application/json

Body

  • Number of days to keep files in the recycle bin. Set as null for indefinitely

  • tax number

    Tax rate

  • Date you will not be able to add charges before

  • Default RMAR advice type for new employees

  • month_end integer

    Date of the month for the monthly income reconciliation statements to end. Leave at 31 for the end of the month

  • Automatically lock statements after number of days of statement end date. Leave null for never lock automatically. Zero for lock automatically immediately

  • Default adviser split to be applied to new advisers

  • Whether to allow clients to view the pseudo folders in the client portal

Responses

POST /api/v1/firm/{firm_uuid}/settings
curl \
 -X POST https://api.plannrcrm.com/api/v1/firm/firm_uuid/settings \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"keep_deleted_files_for":60,"tax":17.5,"rmar_start_date":"2022-08-01","advice_type":"independent","month_end":25,"lock_statements_after":0,"adviser_split_uuid":"6e09af40-63c1-43d8-ab10-cbcfd4a26628","show_pseudo_folders_in_client_portal":true}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "keep_deleted_files_for": 60,
  "tax": 17.5,
  "rmar_start_date": "2022-08-01",
  "advice_type": "independent",
  "month_end": 25,
  "lock_statements_after": 0,
  "adviser_split_uuid": "6e09af40-63c1-43d8-ab10-cbcfd4a26628",
  "show_pseudo_folders_in_client_portal": true
}
Response examples (200)
{
  "tax": 17.5,
  "logo": "https://api.plannrcrm.com/images/plannr.jpg",
  "name": "Codepotato",
  "slug": "codepotato",
  "uuid": "c4aed130-1225-4c78-b4c9-4511bee7be32",
  "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": "2024-10-16T11:10:12+01:00",
  "updated_at": "2024-10-16T11:10:12+01: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": [
    {
      "uuid": "ac108e6f-6e09-4ee2-919e-2e4c8568f049",
      "addon": "App\\Http\\Resources\\Addons\\AddonResource",
      "enabled": "true",
      "created_at": "2024-10-16T11:10:12+01:00",
      "updated_at": "2024-10-16T11:10:12+01:00"
    }
  ],
  "statement_frequency": "monthly",
  "task_board_template": {
    "name": "Task Board",
    "uuid": "8a85e78b-eef9-49c8-bfb7-aad06f8fff09",
    "lists": "App\\Http\\Resources\\Board\\BoardListResource",
    "modelable": "App\\Http\\Resources\\CasesResource",
    "created_at": "2024-10-16T11:10:12+01:00",
    "priorities": [
      {
        "name": "High",
        "value": "high"
      },
      {
        "name": "Low",
        "value": "low"
      }
    ],
    "updated_at": "2024-10-16T11:10:12+01:00",
    "is_editable": true,
    "is_template": false,
    "default_list_uuid": "30a337d2-1ec4-461b-a595-6c8f07b5c9f4"
  },
  "keep_deleted_files_for": 30,
  "welcome_paragraph_html": "<h1>Welcome.</h1>",
  "email_welcome_paragraph_html": "Welcome to Plannr!"
}