feegow_stock_write_exit
Write stock operations in Feegow. Numeric fields MUST be JSON numbers (integers), never strings — Feegow rejects "4" where 4 is expected. Actions:
insert: insert new product. PrecoCompra and PrecoVenda are REQUIRED integers (whole numbers, no decimals). Typical fields: NomeProduto (string), TipoProduto, CategoriaID, FabricanteID, ApresentacaoNome (string), ApresentacaoQuantidade, ApresentacaoUnidade, LocalizacaoID, EstoqueMinimo, EstoqueMaximo, DiasAvisoValidade (all integers).
entry: product entry into stock. Requires productId (integer), quantity (integer), date (string).
movement: product movement between locations.
exit: product exit from stock. Requires productId (integer), quantity (integer), date (string).
[Flattened action: exit]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| account | No |