Seccl - Update the seccl client
Headers
-
Content-Type
string -
Accept
string
Path parameters
-
addon
string Required -
account_uuid
string Required
Body
-
application_uuid
string The Seccl application
-
first_name
string The client's first name.
-
surname
string The client's surname.
-
email
string The client's email.
-
mobile
string The client's mobile.
-
marketing_consent
boolean Boolean to denote whether the client accepts the marketing communicaiton preferences.
-
date_of_birth
date The client's date of birth.
-
flat_number
string The client's flat number of their address.
-
building_name
string The client's building name of their address.
-
building_number
string The client's building number of their address.
-
address_1
string The client's address 1 of their address.
-
address_2
string The client's address 2 of their address.
-
country
string The client's country of their address.
-
postcode
string The client's post code of their address.
PATCH
/api/v1/addons/seccl/{addon}/client/{account_uuid}
curl \
--request PATCH 'https://api.plannrcrm.com/api/v1/addons/seccl/addon/client/account_uuid' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"application_uuid":"8e2031ec-ca04-4e4c-974d-09fe77acc1c4","first_name":"Gareth","surname":"Thompson","email":"gareth.thompson@plannrcrm.com","mobile":"07890000000","marketing_consent":true,"date_of_birth":"1987-05-15","flat_number":"12","building_name":"Suite E","building_number":"12","address_1":"Waterberry Drive","address_2":"Waterlooville","country":"GB","postcode":"PO77YH"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"application_uuid": "8e2031ec-ca04-4e4c-974d-09fe77acc1c4",
"first_name": "Gareth",
"surname": "Thompson",
"email": "gareth.thompson@plannrcrm.com",
"mobile": "07890000000",
"marketing_consent": true,
"date_of_birth": "1987-05-15",
"flat_number": "12",
"building_name": "Suite E",
"building_number": "12",
"address_1": "Waterberry Drive",
"address_2": "Waterlooville",
"country": "GB",
"postcode": "PO77YH"
}
Response examples (200)
{
"id": "031DF6J",
"email": "test@example.com",
"title": "Ms",
"mobile": {
"locale": "en-GB",
"number": "07777000000",
"isMobile": true
},
"status": "Active",
"node_id": "1",
"surname": "Richardson",
"aml_passed": true,
"first_name": "Isabella",
"client_type": "Individual",
"nationality": "GB",
"bank_details": {
"sort_code": "12-34-56",
"account_number": "12345678",
"accepted_debit_mandate": true,
"accepted_debit_mandate_at": "2025-01-01T00:00:00.000Z"
},
"tax_domicile": "GB",
"date_of_birth": "1980-01-01",
"vulnerability": {
"reason": [
"Mental Health"
],
"isVulnerable": true,
"isSupportTemporary": true
},
"address_detail": {
"country": "United Kingdom",
"postcode": "SW1A 2AA",
"address_1": "Downing Street",
"address_2": "Westminster",
"flat_number": "1",
"building_name": "The White House",
"building_number": "1"
},
"terms_accepted": true,
"national_insurance_no": "AB123456C",
"requires_debit_mandate": true
}