post https://{youraccountname}.api-us1.com/api/3/accountCustomFieldMeta
You must call /groupMembers after creating the Custom Field
After creating the custom field, you must call the Add Custom Field to Field Group api to add the custom field to a field group. Failure to do so will result in fields that are not visible on record pages.
To create a custom account field, the following permissions are required.
- Account permission: the user should have permission to manage account.
datetime field format
The datetime field default must be in ISO format
{
"accountCustomFieldMetum": {
"fieldLabel": "sample text field2",
"fieldType": "text",
"fieldDefault": "Default Text",
"isFormVisible": 1,
"displayOrder": 1
}
}
{
"accountCustomFieldMetum": {
"id": "1",
"fieldLabel": "title",
"fieldType": "text",
"fieldOptions": null,
"fieldDefault": "Default Text",
"isFormVisible": 1,
"displayOrder": 1,
"createdTimestamp": "2018-10-22 19:57:37",
"updatedTimestamp": "2018-10-22 19:57:37",
"links": {
"accountCustomFieldData": "https://:account.api-us1.com/api/:version/3/accountCustomFieldMeta/1/accountCustomFieldData"
}
}
}