[#340] AddClient that already exists

Migrated from Redmine #340 | Author: Javier Escribano
Status: New | Priority: Immediate, there is BUG! | Created: 2019-02-13


I’m using the method addClient that says:

" If client record with specified data exists method will return an id of this record. "

But sending the same clientData array it creates different customers with the same info but different id.

I thought that addClient method will check if the customer exists and then return the id without create another one.

Could you let me know the solution for this?
Thanks!

Redmine Admin wrote:

Hi,

yes, you are correct. There is a bug in documentation. Please use Company administration service methods - Company administration service methods - SimplyBook.me to check if client already exists or not first.