each execution of this query leads to the creation of an extra company
https://crm.swisstrade.com.ua/api/contact-add/json/?login=хххх&password=хххххх&name=test&phone=&companyid=32730
as a result, a contact card is created, linked to a company with id 32730
And another contact card is created with the name of the contact with id 32730
[file]2432[/file]
The problem is observed with other companies as well.
I ask you to either correct it or indicate where to look (I turned off automation when saving a contact - it didn’t help)
The problem is observed with other companies as well. I ask you to either correct it or indicate where to look (I turned off automation when saving a contact - it didn’t help)
So everything is right) Company with id 32730 is not found - creates a new one. Do you need to create separate companies? Use extra. parameter - indicate clearly that this is a company
If you need to bind a user to a company when creating, use either the existing company id or its name
So everything is right)
Company with id 32730 is not found - creates a new one.
Do you need to create separate companies?
Use extra. parameter - indicate clearly that this is a company
[file]2434[/file]
If you need to bind a user to a company when creating, use either the existing company id or its name
[file]2435[/file]
So everything is right) Company with id 32730 is not found - creates a new one. Do you need to create separate companies? Use extra. parameter - indicate clearly that this is a company
If you need to bind a user to a company when creating, use either the existing company id or its name
So everything is right)
Company with id 32730 is not found - creates a new one.
Do you need to create separate companies?
Use extra. parameter - indicate clearly that this is a company
[file]2[/file]
If you need to bind a user to a company when creating, use either the existing company id or its name
[file]2[/file]
Gubko Alexander Sergeevich Employee wrote: Company with id 32730 is not found - creates a new one.
why doesn't it find it? because it is https://crm.swisstrade.com.ua/admin/shop/users/32730/ and her type is "company", and not something else that's just the point that there is a company with such id. For some reason, the search by company id does not work in the api
[quote]
Gubko Alexander Sergeevich
Employee wrote:
Company with id 32730 is not found - creates a new one.
[/quote]
why doesn't it find it? because it is https://crm.swisstrade.com.ua/admin/shop/users/32730/
and her type is "company", and not something else
that's just the point that there is a company with such id. For some reason, the search by company id does not work in the api
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
Donate
You don't have enough funds in your account Top up