Update a contact field
Rename a custom contact field and, for the choice types, replace its option set.
Rename a custom contact field and, for the choice types, replace its option set.
Options carrying a uuid are kept and relabelled, options without one are created, and any existing option left out of the list is deleted along with the values contacts hold for it. The field type and slug cannot be changed.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Contact field uuid parameter
550e8400-e29b-41d4-a716-446655440000Rename a custom contact field and, for the choice types, replace its option set. The field type and slug are immutable.
Job titleSuccess response
550e8400-e29b-41d4-a716-446655440000textPossible values: Job titleDerived from the label on creation and immutable afterwards
job_title2025-02-27T11:54:22ZUnauthenticated response
Validation error response
Error response
PATCH /api/reach/v1/profiles/{profileUuid}/contacts/fields/{fieldUuid} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"label": "Job title",
"options": [
{
"uuid": "text",
"label": "text"
}
]
}{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"type": "text",
"label": "Job title",
"slug": "job_title",
"options": [
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"label": "Gold",
"sort_order": 0
}
],
"created_at": "2025-02-27T11:54:22Z"
}Last updated
Was this helpful?