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":"7a9695fb-c227-423f-bddd-8bf3725e5c2a","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": "7a9695fb-c227-423f-bddd-8bf3725e5c2a",
  "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": "261681dc-7ab1-4f09-8076-91d02a92c40e",
  "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-11-20T13:23:59+00:00",
  "updated_at": "2024-11-20T13:23:59+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": [
    {
      "uuid": "a98869e6-306e-4e93-9c79-d92153c244ce",
      "addon": "App\\Http\\Resources\\Addons\\AddonResource",
      "enabled": "true",
      "created_at": "2024-11-20T13:23:59+00:00",
      "updated_at": "2024-11-20T13:23:59+00:00"
    }
  ],
  "statement_frequency": "monthly",
  "task_board_template": {
    "name": "Task Board",
    "uuid": "47b8233d-2740-4d03-ad39-3364ccf60d54",
    "lists": "App\\Http\\Resources\\Board\\BoardListResource",
    "modelable": "App\\Http\\Resources\\CasesResource",
    "created_at": "2024-11-20T13:23:59+00:00",
    "priorities": [
      {
        "name": "High",
        "value": "high"
      },
      {
        "name": "Low",
        "value": "low"
      }
    ],
    "updated_at": "2024-11-20T13:23:59+00:00",
    "is_editable": true,
    "is_template": false,
    "default_list_uuid": "09c7d07e-3a07-47f3-9e63-5e8a7f488119"
  },
  "keep_deleted_files_for": 30,
  "welcome_paragraph_html": "<h1>Welcome.</h1>",
  "email_welcome_paragraph_html": "Welcome to Plannr!"
}