curl --request PATCH \
--url https://api.getfernand.com/contacts/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Richard H."
}
'{
"id": 12345,
"email": "richard.hendricks@piedpiper.com",
"name": "Richard Hendricks",
"firstname": "Richard",
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"company": {
"id": 123,
"name": "PiedPiper",
"domain": "piedpiper.com",
"logo": "https://api.fetchlab.net/icons/piedpiper.com",
"url": "https://piedpiper.com"
},
"is_role": false,
"is_trusted": true,
"subscription_status": "active",
"subscription_start": "2024-01-15T10:30:00Z",
"financials": {
"sources": {},
"subscriptions": {
"total": 123,
"latest": {}
},
"payments": {
"total": 123,
"data": [
{}
]
}
}
}curl --request PATCH \
--url https://api.getfernand.com/contacts/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Richard H."
}
'{
"id": 12345,
"email": "richard.hendricks@piedpiper.com",
"name": "Richard Hendricks",
"firstname": "Richard",
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"company": {
"id": 123,
"name": "PiedPiper",
"domain": "piedpiper.com",
"logo": "https://api.fetchlab.net/icons/piedpiper.com",
"url": "https://piedpiper.com"
},
"is_role": false,
"is_trusted": true,
"subscription_status": "active",
"subscription_start": "2024-01-15T10:30:00Z",
"financials": {
"sources": {},
"subscriptions": {
"total": 123,
"latest": {}
},
"payments": {
"total": 123,
"data": [
{}
]
}
}
}Updates the contact’s local name within the organization. If the provided name matches the contact’s original name, the local_name is cleared (set to null). Otherwise, the local_name is set to the provided value, which will override the default name when displayed. Returns the updated contact without financial information.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the contact to update.
New name for the contact. If matches original name, local_name is cleared.
250"Richard H."
Contact updated successfully.
Unique identifier for the contact
12345
Email address of the contact, stored in lowercase and decoded from punycode if applicable
250"richard.hendricks@piedpiper.com"
Display name of the contact, can be set locally or derived from various sources. Returns local_name if set, otherwise the name field, or generates a name from the email address.
250"Richard Hendricks"
First name extracted from the contact's full name
"Richard"
URL to the contact's avatar image, fetched from Gravatar or domain favicon
"https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar"
Company information associated with the contact's email domain
Show child attributes
Indicates if the email is a role-based address (e.g., support@, info@, contact@)
false
Indicates if the contact is trusted (Untrusted contacts come from unverified live chat sessions).
true
Current subscription status from payment processor, only available when complete serialization is requested
active, past_due, unpaid, canceled, churned, incomplete, trialing "active"
Timestamp when the subscription started (UTC), only available when complete serialization is requested
"2024-01-15T10:30:00Z"
Financial information including payment sources, subscriptions, and payment history, only available when complete serialization is requested
Show child attributes
Was this page helpful?