# Inventário Loja

naturezaEstoque

## POST /naturezaEstoque/{id}/abrirInventarioLoja

> Abrir Inventário Loja

```json
{"openapi":"3.0.1","info":{"title":"Loja","version":"1.0"},"tags":[{"name":"Inventário Loja","description":"naturezaEstoque"}],"servers":[{"url":"https://localhost/loja/v10"},{"url":"http://localhost/loja/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/naturezaEstoque/{id}/abrirInventarioLoja":{"post":{"summary":"Abrir Inventário Loja","operationId":"AbrirInventarioLoja","tags":["Inventário Loja"],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}},"parameters":[{"name":"empresa","in":"header","required":true,"description":"Código da Natureza","schema":{"type":"string"}},{"name":"id","in":"path","description":"Código da Natureza de Estoque","required":true,"schema":{"type":"integer"}}]}}}}
```

## POST /naturezaEstoque/{id}/fecharInventarioLoja

> Fechar Inventário Loja

```json
{"openapi":"3.0.1","info":{"title":"Loja","version":"1.0"},"tags":[{"name":"Inventário Loja","description":"naturezaEstoque"}],"servers":[{"url":"https://localhost/loja/v10"},{"url":"http://localhost/loja/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/naturezaEstoque/{id}/fecharInventarioLoja":{"post":{"summary":"Fechar Inventário Loja","operationId":"FecharInventarioLoja","tags":["Inventário Loja"],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}},"parameters":[{"name":"empresa","in":"header","required":true,"description":"Código da Natureza","schema":{"type":"string"}},{"name":"id","in":"path","description":"Código da Natureza de Estoque","required":true,"schema":{"type":"integer"}}]}}}}
```


---

# 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://ajuda.consistem.com.br/consistem-api/consistem-erp-api/comercial/loja-v1.0/inventario-loja.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.
