1b.app
Link copied -

Card creation api/contact-add is not filled in Customer address

Good afternoon. We create a client card by sending the API request /api/contact-add from the business process (process for verification https://crm.hlr.ua/admin/customorder/sozdanie-novogo-klienta/3463201/edit/). One of the Address fields is the standard user address field, in the process the field is filled (String type) - we pass it to the specified variable , but the value does not get into the card, here is the created https://crm card. hlr.ua/admin/shop/users/86189/. The API documentation states that this is an obsolete parameter , that is, now it is only possible to fill in the city, street, etc.? Or does the address variable still work? A line is enough for us, a division into a city, a street is not needed. Please check
Original question is available on version: ru

Answers:

Good afternoon. You are probably confusing something, you write that you are using the /api/contact-add method, but at the same time you are giving a process to check. Please provide a complete request (instead of login and password, put XXX) that you are doing to change the address and indicate whose address you want to change in this way (user or task)
12.01.2022, 16:11
Original comment available on version: ru

In the process that I gave for verification, at the stage https://crm.hlr.ua/admin/shop/workflowstatus/1585/action/new/ the action Pass business process to API ( employees do not have rights to create contacts and create them only through the specified process by filling in the required fields), at this stage a request is sent with the transfer of the additional process field New contactee address in the field of the Client card address , here is the log of the sent request , but in the created client https://crm.hlr.ua/admin/shop/users/86189/ the address field is empty
12.01.2022, 17:25
Original comment available on version: ru

The address parameter is already deprecated, it is not used in the api. Use instead of the address.
13.01.2022, 12:17
Original comment available on version: ru

I don't have a street, city, etc., and we don't work with Google maps, we just need to write a string, how can we do this? If I try to record everything in the City, for example, Kyiv, Uritsky, 12, will Boxing accept this?
13.01.2022, 12:19
Original comment available on version: ru

Yes, that's how it should work
13.01.2022, 12:45
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment