- Update Custom Field
Tool name: update-custom-field
Changes the name, description, group, labels, cardinality, subscription-email key, note or copy target of a custom field. Only what is passed is written; an empty string clears a text setting. The data type cannot be changed and is refused: an existing field keeps the type its stored values were written in. multiValue false collapses the field to ONE value per contact and DELETES the extra values contacts hold per subscription -- ask the person first, it cannot be undone and true is then refused for good. requestName is the key a contact writes as "key = value" in the body of a subscription email to fill this field; it addresses the field, so two fields sharing one means the first wins. copyToFieldId must name a field of a compatible type or the change is refused. Only fields the account created itself can be changed; the global ones are refused.
New name of the field, which has to stay unique within the account; omit to keep the current one
New description of what the field holds; omit to keep the current one
Group in the app; empty string sorts into none; omit to keep
New set of labels of the field, which replaces the current one; omit to keep the current labels
False collapses the field to one value per contact and DELETES the others; true is refused on a field that is already false; omit to keep
Key this field is addressed by in a subscription email body; empty string removes it; omit to keep
Internal note on the field, which nobody outside the account sees; empty string removes it; omit to keep
ID of the field every value written here is also copied into; empty string stops the copying; omit to keep
{ "customFieldId": "string", "name": null, "description": null, "category": null, "metaLabels": null, "multiValue": null, "requestName": null, "notes": null, "copyToFieldId": null, "accountId": null }
{ "accountId": 0, "id": "string", "name": "string", "type": "string", "multiValue": true, "placeholder": "string", "apiFieldId": "string", "category": "string", "description": "string", "metaLabels": [ "string" ], "editUrl": "string", "usedBy": [ "string" ] }