# New endpoints for managing customer contacts

#### What's new

Customer contacts (phone numbers, emails, social media links) can now be managed through API calls to dedicated endpoints.&#x20;

#### Changes in API

New endpoints allow you to create, search, update, and delete customer contacts with calls to Ecwid API without risking other customer's data.

Customer contacts can still be updated with the "Update customer" call, but this request completely rewrites the data in the "Contacts" section, thus is vulnerable to losing the data. Dedicated endpoints allow you to safely insert, delete or change specific customer contacts.

#### Documentation links

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/search-customer-contacts>" %}
[Search customer contacts](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/search-customer-contacts)
{% endcontent-ref %}

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/get-customer-contact>" %}
[Get customer contact](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/get-customer-contact)
{% endcontent-ref %}

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/update-customer-contact>" %}
[Update customer contact](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/update-customer-contact)
{% endcontent-ref %}

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/create-customer-contact>" %}
[Create customer contact](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/create-customer-contact)
{% endcontent-ref %}

{% content-ref url="<https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/delete-customer-contact>" %}
[Delete customer contact](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/customers/customer-contacts/delete-customer-contact)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/changelog/march-2025/march-28/new-endpoints-for-managing-customer-contacts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
