API3
zakali at April 16th, 2021 16:09 — #1
We are trying to update a few fields using Update Contact API call. It's removing values that we are not providing in conatcs being updated. For example, when running this JASON update request (
{"last_name":"Smith","custom_fields": [{"id": "6074adfacb52e6383e05fe1e", "value": "Testing update" }]}
It updated these two fields but removed all other values from the contact record.
Please let us know how we can prevent this.
vladimir at April 19th, 2021 04:33 — #2
Hi zakali!
Thanks for your request. If you're updating a contact then we're expecting that you're sending the whole contact to be saved to our DB. In your case you can pass partial=true
param in order to let us understand that you're doing a partial update and let us update only those fields that you provided us with.
I hope it helps, anyway let me know if it helps and your problem is solved.
Thank you,
Vlad
Powered by Discourse, best viewed with JavaScript enabled