# Estoque   Movimentos

inventario

## PUT /inventario/{natureza}

> Gerar Movimento de Estoque

```json
{"openapi":"3.0.1","info":{"title":"Loja","version":"1.0"},"tags":[{"name":"Estoque - Movimentos","description":"inventario"}],"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"}}},"ListaMovimentoEstoquePut":{"type":"object","properties":{"produtos":{"type":"array","description":"Lista de Movimentação de Estoque","items":{"$ref":"#/components/schemas/MovimentoEstoquePut"}}}},"MovimentoEstoquePut":{"type":"object","required":["codProduto","saldo","dataMovimento"],"properties":{"codProduto":{"type":"string","minLength":1,"maxLength":20,"description":"Código do Produto"},"saldo":{"type":"number","maximum":9999999.999,"multipleOf":0.001,"description":"Saldo do Estoque do Produto"},"dataMovimento":{"type":"string","format":"date","description":"Data da Movimentação de Estoque (YYYY-MM-DD)"}}}}},"paths":{"/inventario/{natureza}":{"put":{"summary":"Gerar Movimento de Estoque","operationId":"GerarMovimentoEstoque","tags":["Estoque - Movimentos"],"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 Empresa","schema":{"type":"string"}},{"name":"natureza","in":"path","required":true,"description":"Código da Natureza","schema":{"type":"string"}}],"requestBody":{"description":"Dados de Saldo do Produto","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListaMovimentoEstoquePut"}}}}}}}}
```


---

# 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/estoque-movimentos.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.
