Update

PUT /:account/contact_schemas/:contact_schema_slug/:slug

Custom Fields denote the type, title, and description of attributes that belong to Contact Schemas. When data is imported from an external source, only attributes that exist as Custom Fields will be saved onto the Contact records.

Examples

Updating a Custom Field

Request

PUT /my_account/contact_schemas/bullhorn/Candidate/name

Body

{
  "title": "New title",
  "description": "My new field description"
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/contact_schemas/bullhorn/Candidate/name
    -d '{
  "title": "New title",
  "description": "My new field description"
}'

Response

Status

200

Response Type

ContactField

Example Body

{
  "@type": "ContactField",
  "@context": "/contexts/ContactField.jsonld",
  "id": "/my_account/contact_schemas/bullhorn/Candidate/name",
  "slug": "calendar-link",
  "title": "Calendar Link",
  "type": "url",
  "description": "Your personal calend.ly url.",
  "externalId": false,
  "externalLink": false,
  "displayOrder": 10
}

© 2024 TextUs