# Retornos Possíveis (HTTP Status Codes)

O resultando de uma requisição é controlado com base no **HTTP Code** retornado, sendo os códigos possíveis:

| HTTP Code                | Descrição                                                      |
| ------------------------ | -------------------------------------------------------------- |
| :white\_check\_mark: 200 | Requisição com sucesso, com dados sendo retornados             |
| :white\_check\_mark: 201 | Registro Criado/Editado com Sucesso                            |
| :white\_check\_mark: 204 | Ação executada com sucesso                                     |
| :x: 400                  | Existem campos essenciais faltando (Loja, Token, Modulo, Acao) |
| :x: 401                  | Token inválido (Gere um novo token no painel da Loja)          |
| :x: 404                  | Módulo ou Ação não Localizados                                 |
| :x: 405                  | Método Não Permitido                                           |
| :x: 422                  | Falha em validar os dados enviados                             |

### Exemplo:

![](/files/-MOi3y0o6uHJJ0S7FvCl)


---

# 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://apidoc.toplojas.com.br/funcionamento/retornos-possiveis-http-status-codes.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.
