# clients (PUT)

Atribui um nome (nome atribuído), comentário e define campos extras a um cliente. Request - pedido:

*PUT /v1/clients/*

Body do Request:

![](/files/2rkcoagIAEMGyuzlu6eJ)

Parâmetros:&#x20;

• – id do cliente.&#x20;

• nickname–nome do cliente (nome atribuído). Se null for especificado, o nome será excluído.&#x20;

• assigned\_phone – número de telefone do cliente que pode ser armazenado adicionalmente no cadastro do cliente. Esse campo é informativo e não é usado ao trocar mensagens com outro mensageiro. Ele pode ser editado no cadastro da cliente.&#x20;

• custom fields – json de campos customizáveis e seus valores.&#x20;

• external\_id – id do cliente para usar no sistema externo. external\_service – eserviço externo para id externo do cliente. No momento são permitidos apenas “amo” e “bitrix”. Resposta típica:

![](/files/Ldjpcl0cZMaYAxawCAXl)


---

# 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://c2dbr-pt.gitbook.io/c2dbr/api-and-webhooks/clients-put.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.
