Copy link to clipboard
Copied
Hi,
We are using http://docs.businesscatalyst.com/dev-assets/reference#!/api-endpoints/crm-v3/customers.html!create-c...
Issue :
- when we are using the "workPhone" and run the code the it will show error
- When remove that and run the code customer is created
See the attachments, that code and error response (the customer is not created). Please let us know what the issue is.
Copy link to clipboard
Copied
Hi Manoj,
The call fails because every CRM entry has to have a unique username. If you change the username from "test-3" to something else the first call will go through, the CRM record will be created and subsequest calls will fial until you change the username to something else.
Thanks,
Mihai
Copy link to clipboard
Copied
Hi Mihai,
Each time we are trying to create a new customer with different details the issue occurs and when we remove the workPhone the new customer is created.
the attachment is just an example.
Regards
Manoj Gregory
Copy link to clipboard
Copied
Hi Mihai,
Try to create a new customer using the code by adding "workPhone" is it. You will get the error.
Regards
Manoj Gregory