Note: This is one of multiple posts about issues I’ve discovered while working depth with the Pipedrive API. A description of the use case and collection of all issues can be found at pipedrive-api-notes.md · GitHub.
enum fields seem to generally have integer values and string labels. Notable exceptions in the
donehas boolean IDs (
busy_flag– same thing
typehas string values (e.g.
Consequently, this needs manual remapping when scripting around field types.
What I’d expect instead is for these fields to behave the same way as all other
enum fields and have
int IDs and
done would deserve to be
boolean types, but that is a separate issue.)