> For the complete documentation index, see [llms.txt](https://docs.fidelimax.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fidelimax.com.br/clientes/atualizacao.md).

# Atualização

## AtualizarConsumidor

<mark style="color:green;">`POST`</mark> `https://api.fidelimax.com.br/api/Integracao/AtualizarConsumidor`

Exemplo no POSTMAN - <https://www.postman.com/fidelimax/workspace/fidelimax-api-1-0/request/18773698-e07e6a16-f8da-442c-adf8-bc56dd7dea21>

#### Headers

| Name                                           | Type   | Description                                                                                                    |
| ---------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------- |
| AuthToken<mark style="color:red;">\*</mark>    | string | Token de integração que esta na sua plataforma de controle em Integrações > API da Fidelimax > Quero Integrar. |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json                                                                                               |

#### Request Body

| Name       | Type    | Description                                                                                                                                                               |
| ---------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| nome       | string  | Nome do Consumidor                                                                                                                                                        |
| cpf        | string  | CPF do Consumidor, o CPF é usado como chave para realizar a atualização. Campo obrigatório se cartao não for informado                                                    |
| sexo       | string  | Sexo do Consumidor, Masculino e Feminino                                                                                                                                  |
| nascimento | string  | Data de nascimento do Consumidor, formato dd/mm/yyyy                                                                                                                      |
| email      | string  | E-mail do consumidor                                                                                                                                                      |
| telefone   | string  | Telefone do Consumidor, formato (11)99999-9999                                                                                                                            |
| congelado  | boolean | Indica se o consumidor está marcado como congelado. Quando true, o consumidor não consegue acessar a plataforma de fidelidade. Usado em casos de cobrança de mensalidade. |
| tag        | string  | Associe uma nova tag ao consumidor. A Tag deve ser previamente cadastrada pelo painel de controle, cada consumidor pode ter até 3 tags                                    |

{% tabs %}
{% tab title="200 cartao\_duplicado - Indica que o cartão vincualado a esse consumidor já não foi cadastrado a outro consumidor do mesmo programa de fidelidade.
CodigoResposta - Identificação numérica da resposta
MensagemErro - Mensagem retornada pela API, quando há uma resposta diferente de OK" %}

```
{    
    "cartao_duplicado": false,
    "CodigoResposta": 100,
    "MensagemErro": null
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.fidelimax.com.br/clientes/atualizacao.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.
