# API Toplojas

Nossa API é desenvolvida em **OpenAPI 3.0**, com isto, você pode importar nosso arquivo **YAML** em seu programa de teste de API preferido.

:arrow\_left: Através do menu lateral você pode encontrar muitos detalhes importantes sobre o funcionamento da API e de seus métodos.

Através de nossa **Referência** você tem acesso a documentação de cada método, e os detalhes de cada campos enviado/recebido.

## Referência da API

Você pode testar online e consultar a documentação de cada método em:

{% embed url="<http://api.toplojas.com.br/doc/>" %}

## Download do OpenAPI

### Formato JSON:

{% embed url="<http://api.toplojas.com.br/doc/doc.json>" %}

### Formato YAML:

{% embed url="<http://api.toplojas.com.br/doc/doc.yaml>" %}


---

# 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/master.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.
