Actions120
- Authentication Actions
- Bloqueios Actions
- Get Motivos
- Get Bloqueio Faturamento
- Get Bloqueio Conta
- Get Bloqueio Carteira
- Get Bloqueio Compra Pedido
- Get Bloqueio Cotacao Compra
- Get Bloqueio Data Minima Vencimento
- Get Bloqueio Estoque Negativo
- Get Bloqueio Financiamento Pedido
- Get Bloqueio Frete Pago
- Get Bloqueio Limite Credito
- Get Bloqueio Limite Individual
- Get Bloqueio Manutencao Preventiva
- Get Bloqueio Margem
- Get Bloqueio Mes Reajuste
- Get Bloqueio Parcela Minima
- Get Bloqueio Saldo Atrasado
- Desaprovar Bloqueio
- Liberar Bloqueio
- Liberar Bloqueio Limite Credito
- Liberar Bloqueio Limite Individual
- Classificacao Actions
- Cliente Actions
- Instituição Financeira Actions
- Linha de Crédito Actions
- Máquina Actions
- Mecânico Actions
- Motorista Actions
- Negócio Actions
- Nota Fiscal Actions
- Oficina Actions
- Orçamento Actions
- Orçamento Balcão Actions
- Ordem de Serviço Actions
- Criar Ordem de Serviço Completa
- Consultar por ID
- Consultar por Código Externo
- Listar Agendamentos
- Listar Agendamentos por ID
- Listar Status do Lock
- Listar Ordens de Serviço
- Incluir Ordem de Serviço
- Listar Ordens de Serviço Geral
- Incluir Apontamento
- Incluir Despesa
- Incluir Peça
- Incluir Serviço
- Editar Peça
- Editar Serviço
- Editar Veículo
- Incluir Observação
- Ordem Serviço Tipo Actions
- Pedido Actions
- Política de Prazo Actions
- Política de Preço Actions
- Produto Actions
- Prospect Actions
- Saída Actions
- Serviço Actions
- Status Financiamento Actions
- Título Actions
- Veículo Cliente Actions
- Veículo Próprio Actions
- Vendas Actions
- Vendedor Actions
Bloqueios → Get Bloqueio Estoque Negativo
AI-generatedOverview
This node integrates with the Nuvem Solution API to perform various operations related to "Bloqueios" (blockings). Specifically, the "Get Bloqueio Estoque Negativo" operation retrieves details about a negative stock blocking by its ID. This is useful in inventory and sales management scenarios where you need to check if a product or stock item is blocked due to negative stock levels, helping prevent sales or orders that cannot be fulfilled.
Practical examples:
- Before processing an order, verify if there is a negative stock blocking on a product to avoid overselling.
- Automate alerts or workflows when a negative stock blocking is detected for inventory replenishment.
- Integrate with other systems to fetch detailed blocking information for reporting or compliance.
Properties
| Name | Meaning |
|---|---|
| Bloqueio ID | The unique numeric identifier of the blocking record to retrieve details for. |
Output
The output is a JSON object containing the details of the requested negative stock blocking. The structure corresponds to the response from the Nuvem Solution API endpoint /erp/forcaVendas/bloqueios/estoqueNegativo/{bloqueioId}.
Typical fields in the JSON may include information such as:
- Blocking ID
- Stock or product identifiers
- Status of the blocking
- Related metadata about the negative stock condition
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication with the Nuvem Solution API.
- The node uses bearer token authentication obtained via the configured credentials.
- The base URL for the API and authentication tokens are managed internally.
- Proper configuration of the API credentials in n8n is necessary for successful requests.
Troubleshooting
- Invalid Bloqueio ID: If the provided blocking ID does not exist or is incorrect, the API may return an error or empty result. Verify the ID before use.
- Authentication errors: Ensure that the API credentials (software key, secret, user ID, user key) are correctly set up and valid.
- Network issues: Connectivity problems to the Nuvem Solution API endpoint can cause request failures.
- API rate limits: Excessive requests might be throttled; consider implementing retry logic or reducing request frequency.
- Malformed input: The Bloqueio ID must be a number and is required; missing or invalid values will cause errors.
Common error messages:
- "Authentication failed": Check credentials and network connectivity.
- "The operation 'getBloqueioEstoqueNegativo' is not supported!": Indicates a possible misconfiguration or unsupported operation selection.
- HTTP 404 or similar: The specified Bloqueio ID was not found.
Links and References
- Nuvem Solution API Documentation (general reference)
- Consult your organization's Nuvem Solution API documentation for detailed schema of blocking objects and error codes.