Client update via API: contact replacement

New parameters have been added to the Update a client API method — update_emails and update_phone.

Now customer contact details can not only be added, but also replaced. Previously, phone numbers or email addresses could only be appended to existing ones, which sometimes led to duplicate or outdated values in the customer card. Now you can update them directly.

For example, if a customer’s phone number has changed, you can pass it via update_phone and replace the current one. The same applies to email via update_emails. This helps keep customer records clean and up to date.

Our API documentation is available here: https://api.usedocs.com/