Yes, I filled my address details in address_route, address_sublocality, address_locality, address_admin_area_level_1, address_postal_code. I didn’t see it in the main address field for the organization. Now after some more testing I am planning to fill all the above fields, address_formatted_address and address field. Will that work ?
I have the similar problem updating the subaddress(e.g. address_route) fields of an organization, how can I guarantee, that this subfield ist updated right, using only the address field?
thank you for your fast answer.
Well I try to put e.g. https://api.pipedrive.com/v1/organizations/751?api_token=xx
and JSon Body
{
“name”: “Test Daniel 2”,
“visible_to”: “3”,
“address_route”: “Schwarzkircher Weg”,
“address_sublocality”: null,
“address_locality”: “Heusenstamm”,
“address_admin_area_level_1”: “Hessen”,
“address_admin_area_level_2”: “Darmstadt”,
“address_country”: “Deutschland”,
“address_postal_code”: “63150”,
“people_count”: 6
}
on https://entegaplusgmbh.pipedrive.com
but address_route isnt’t updated(still is “Weiskircher Weg”) , neither people_count is updated?
if I just use the address field for update, the update works, but the subfields aren’t updated or will be erased. How could we force the subfields to be updated also?
You will not see them updated right away inside the POST or PUT request response because it takes a moment to retrieve the info. If you do a GET request to see that organization’s data, you will probably see the other fields now
Thank you that was the problem, I thought it would be the same data.
But still have the problem with the customfiled people_count, which doesn’t get updated neither.
See the definition of the field:
Ok , how can i recognize such fields? About the “edit_flag”: false entry in the definition of this field?
And how do I recognize on which other fields this fields are depending, like in this case the persons which are assigned to an organization?
On which fields a field is dependent really depends on the specific case…
Most fields should be intuitive, but if some are a bit unclear, feel free to ask here in the community
@dani , I’m not finding anywhere the pattern to use in the address field so that the subfields can be updated automatically. For example, wich field represents the information “apartment 14”?
Same here. This has been quite frustrating for our users. Take the example listed here. TCU Post Office
2901 Stadium Drive
TCU Box 29123456
Fort Worth TX 76129
I can’t for the life of me get the ZIP to stay 76129. It keeps converting it to 76109. I also cannot get the address_subpremise in the api to read TCU Box 29123456. It is always blank.
Even worse… these address pieces fields in the api seem to keep their old values any time a new address is entered and is not able to be parsed. So in pipedrive it will literally say “2901 Stadium Drive TCU Box 29123456 Fort Worth TX 76129”, but the API will still return the old values it had before that new address was entered.