Update a firm
Headers
-
Content-Type string
-
Accept string
Body
-
name string
The firm's name.
-
regulatory_text string
The firm's regulatory text.
-
ip_whitelist array[string]
IP Addresses that are allowed to access Plannr
PUT /api/v1/firm/{uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/firm/uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"Codepotato","regulatory_text":"To view our Privacy Statement, please click here. To view our Cookies Statement, please click here.","ip_whitelist":["192.168.0.1"]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "Codepotato",
"regulatory_text": "To view our Privacy Statement, please click here. To view our Cookies Statement, please click here.",
"ip_whitelist": [
"192.168.0.1"
]
}
Response examples (200)
{
"tax": 17.5,
"logo": "https://api.plannrcrm.com/images/plannr.jpg",
"name": "Codepotato",
"slug": "codepotato",
"uuid": "c064a0ac-bacf-41d3-b527-6f9ed6a9d2eb",
"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": "5a4d5e91-ff8a-45ec-89f6-23a0d339f90b",
"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": "3c3a695c-0376-46cc-9d88-b3be13e0a2fe",
"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": "7f0b732c-de48-40af-a73f-3a2e21d198cf"
},
"keep_deleted_files_for": 30,
"welcome_paragraph_html": "<h1>Welcome.</h1>",
"email_welcome_paragraph_html": "Welcome to Plannr!"
}