How to find out if a field can be used for creation and updation
API just now
this is the response for a field we are getting for organizationFields api, so from this how can i know, is this field can be useful for insertion and creation
JSON
{
id: 12499,
key: '123456789',
name: 'Date',
order_nr: 47,
field_type: 'date',
json_column_flag: true,
add_time: '2023-03-02 02:14:54',
update_time: '2023-03-02 02:14:54',
last_updated_by_user_id: 13053568,
edit_flag: true,
details_visible_flag: true,
add_visible_flag: false,
important_flag: true,
bulk_edit_allowed: true,
filtering_allowed: true,
sortable_flag: true,
mandatory_flag: false,
active_flag: true,
projects_detail_visible_flag: false,
index_visible_flag: true,
searchable_flag: false
},
Hi, fields that have edit_flag: true can be set via API.
but here in this page Custom fields, they mentioned
The edit_flag
parameter in the response body of an entity’s fields can be used to identify if the field is a custom field:
true
– a custom field
false
– Pipedrive default field, right
- so, are you saying non custom fields are not updatable and creatable ?
- also, here according to you this name field should be not creatable and updatable, because its field data have edit_flag false, can you see this
“{
“id”: 1,
“key”: “name”,
“name”: “Name”,
“group_id”: null,
“order_nr”: 0,
“field_type”: “varchar”,
“json_column_flag”: false,
“add_time”: “2025-04-03 14:21:56”,
“update_time”: null,
“last_updated_by_user_id”: null,
“edit_flag”: false,
“details_visible_flag”: false,
“add_visible_flag”: true,
“important_flag”: false,
“bulk_edit_allowed”: true,
“filtering_allowed”: true,
“sortable_flag”: true,
“mandatory_flag”: true,
“searchable_flag”: false,
“description”: null,
“created_by_user_id”: null,
“active_flag”: true,
“use_field”: “id”,
“link”: “/organization/”
}”