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
Pedido → Cancelar Pedido
AI-generatedOverview
This node integrates with the Nuvem Solution API to perform various operations related to orders ("Pedido") among many other resources. Specifically, for the "Cancelar Pedido" (Cancel Order) operation under the "Pedido" resource, it allows users to cancel an existing order by providing the order ID and optional request body parameters.
Typical use cases include:
- Automating order cancellation workflows in e-commerce or sales systems.
- Integrating order management processes with external ERP or CRM systems.
- Handling bulk or conditional cancellations triggered by business logic in n8n workflows.
For example, a user can configure this node to cancel an order when certain conditions are met downstream in their automation, such as payment failure or customer request.
Properties
| Name | Meaning |
|---|---|
| ID do Pedido | The numeric identifier of the order to be canceled. This is required for cancellation. |
| Request Body | A JSON object representing additional data to send with the cancellation request. This can include cancellation reasons or flags as supported by the API. |
Output
The node outputs a JSON array containing the response from the Nuvem Solution API for the cancellation request. The structure depends on the API's response but typically includes confirmation of cancellation status, any messages, and possibly updated order details.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the Nuvem Solution API.
- Needs credentials configured in n8n that provide:
- Base URL of the API.
- Software key.
- Secret.
- User ID.
- User key.
- The node uses bearer token authentication obtained via these credentials.
- Proper permissions on the API side to perform order cancellation.
Troubleshooting
- Authentication errors: If the node fails to authenticate, verify that all credential fields (software key, secret, user ID, user key) are correct and have not expired.
- Invalid order ID: Ensure the "ID do Pedido" corresponds to an existing order; otherwise, the API may return an error indicating the order was not found.
- Malformed JSON in Request Body: The "Request Body" must be valid JSON. Invalid JSON will cause parsing errors before sending the request.
- API permission issues: Lack of proper permissions for cancellation may result in authorization errors.
- Network or connectivity issues: Confirm that the base URL is reachable from the n8n environment.
To resolve errors, check the error message returned by the node, validate input parameters, and confirm API access rights.
Links and References
- Nuvem Solution API Documentation (general reference, actual docs should be consulted for detailed request/response formats)
- n8n documentation on HTTP Request Node for understanding how API calls are made
- Best practices for JSON formatting to ensure valid request bodies