we are having a field for our Contacts with the type of persons and change this using the API.
In our App you can only choose names of contacts already existing in Pipedrive for this field because we have no use case creating new Contacts this way. But recently if we are using the “updating a Person” API call and are updating this field we are creating are duplicate of the chosen name.
See here the field we are updating.
We did not have this issue before, so I think something changed in the API recently. Does someone else have this issue? is there a workaround to fill a persons field other than by the name of the contact?
Hey @jakob
Welcome to the community ! Sounds like an interesting challenge. If I understood you rightly, it seems like a new contact is being created every time an existing contact is updated?
If that’s the case, can you share some more details?
The field you are updating - is it a custom field of type people? (Custom fields)
Since when did you start noticing the change? Can you share logs before and after if you have?
Hi,
thanks for the welcome, nice to meet you
no, the problem was that every time we update the custom field of type person a new contact was created even if it already exists. But I found my mistake, we used the name of the contact to update the field but should have used an object with the id of the contact. { "id": contact_id }
but thanks for responding!
Hey @Hem hope you are fine?
unfortunately this is no longer working for us? Using { “id”: contact_id } for setting a person in an customer field of type person return success = true but the field is not changed. Using the contact_id without the key is working. was this API call changed recently?