latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Custom Fields

Edit the custom field value of a specified contact

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Custom%20Fields/updateCustomFieldValue" target="_blank">Try in sandbox</a><br>

put/api/v2/customfields/{id}/update

Path parameters

idinteger required

Request body

contactIdinteger

Contact ID. See Contact.

valuestring

Custom field value. Note that this value is not parsed in any way; it is stored and used in dynamic fields exactly as you send it.

Example request

{
  "contactId": 50315,
  "value": "1983-08-31T00:00:00.000Z"
}

Response

Returned when updated with success.

idinteger required

Resource ID.

hrefstring required

A link to this resource. If you want to fetch it, just GET this address.

Example response

{
  "id": 515,
  "href": "/api/v2/entity_name/1"
}