I’m looking for a way to get a list of entity fields (Deal, Person or Organization) which can be filled when creating one of these entities in Pipedrive via the API. The reason for that is that in my app I’ve got an interface which allows the customer to select which entity fields can be filled with data when such an entity is sent for creation in Pipedrive.
To make it a bit more clear, let’s take the Deal for example. I want to expose most of the standard fields, like deal title, value, expected close date, etc., but I want to hide fields which shouldn’t be filled - like next activity date, last email sent, etc.
Now, I thought about checking the “edit_flag”, but that gives me only the list of custom fields. And the standard fields like deal title, value and status all have the “edit_flag” set to false. So after some research I think I found a good rule for listing these fields - either the “edit_flag” or the “bulk_edit_allowed” flag should be set to true, and the key shouldn’t end with “_id”.
So, can anybody confirm that this will give me a list of fields which can be filled with data before creation? Also, can that list of fields be used when updating as well, or that should use a different rule?