Making an api request
This order was created by api
https://onetos.org.ua/242302/
The problem is that if the client is deleted and we create an order via api, we get an error
[file]13664[/file]
But only I should restore the client
[file]13665[/file]
Everything works correctly
This is how it should be: In my opinion, users used to recover on their own when requesting an api to create a client
You can check your request here
https://onetos.org.ua/admin/logs/showall/ajax/?file=api-orders-add-2022-01-18.log
By order
12033-1
Making an api request This order was created by api https://onetos.org.ua/242302/ The problem is that if the client is deleted and we create an order via api, we get an error
Good afternoon, give an example of a request in which you get an error (it is possible without a login and password) and do not restore contact, I'll see what causes it. Thanks
Good afternoon, give an example of a request in which you get an error (it is possible without a login and password) and do not restore contact, I'll see what causes it. Thanks
Here https://onetos.org.ua/app/automatization-user/insert/edit/ is the action "Check the contact field for uniqueness". It checks the phones of all users, even remote ones. When searching for a client, the search goes only to non-remote users and creates a new one if not found. He tries to create a new one, looks that the remote one has such a phone number and does not let him go further. You can solve this, for example, without searching for this field in remote contacts, you can do it in the form of a setting in action - it will take an hour
Here https://onetos.org.ua/app/automatization-user/insert/edit/ is the action "Check the contact field for uniqueness". It checks the phones of all users, even remote ones. When searching for a client, the search goes only to non-remote users and creates a new one if not found. He tries to create a new one, looks that the remote one has such a phone number and does not let him go further. You can solve this, for example, without searching for this field in remote contacts, you can do it in the form of a setting in action - it will take an hour
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