> 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/categorias-fixas/atualizar-categoria.md).

# Atualizar Categoria

## Atualizar categoria fixa consumidor

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

Lembrando que, se o consumidor tiver saldo para pertencer a uma categoria superior da atualiza, na próxima pontuação, ele entrará automáticamente na nova categoria.

#### Headers

| Name                                           | Type   | Description                                                                                                    |
| ---------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json                                                                                               |
| 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. |

#### Request Body

| Name                                        | Type   | Description                                                                                              |
| ------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------- |
| cpf                                         | string | CPF do Consumidor. Campo obrigatório se os demais campos não forem enviados                              |
| telefone                                    | string | Telefone do Consumidor, formato (11)99999-9999. Campo obrigatório se os demais campos não forem enviados |
| categoria<mark style="color:red;">\*</mark> | string | Nome da nova categoria que o consumidor será inserido.                                                   |

{% tabs %}
{% tab title="200: OK CodigoResposta 100 = OK, CodigoResposta 125 = Categoria inexistente, CodigoResposta 103 = Consumidor Inexistente" %}

```javascript
{
    "CodigoResposta":100,
    "MensagemErro":""
}
```

{% 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/categorias-fixas/atualizar-categoria.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.
