Update customer profile
PUT/customer360/profiles/{id}
Updates a customer profile's contact details, external IDs, or attributes. Health score is automatically recalculated after every update. Provide only the JSON fields you want to replace; omitting them retains existing values.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | ID of the profile to update. Example: |
Request body
Content type application/json (required).
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Yes | Updated display name. Max length: 180 |
primary_email | string (email), nullable | No | Updated primary email. |
primary_phone | string, nullable | No | Updated primary phone number. Max length: 60 |
external_ids_json | string, nullable | No | Updated external IDs JSON object (replaces existing). |
attributes_json | string, nullable | No | Updated attributes JSON object (replaces existing). |
Example
{
"display_name": "Kwame Mensah",
"primary_email": "kwame.mensah@newdomain.com",
"attributes_json": "{\"tier\":\"enterprise\",\"industry\":\"fintech\",\"account_manager\":7}"
}
Responses
302 Redirect to profiles list after update
404 Profile not found
422 Validation error
Example request
curl -X PUT "https://{tenant}.faciotech.net/api/v1/customer360/profiles/{id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"display_name": "Kwame Mensah", "primary_email": "kwame.mensah@newdomain.com", "attributes_json": "{\"tier\":\"enterprise\",\"industry\":\"fintech\",\"account_manager\":7}"}'