WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node interacts with the WibiClick API to manage various resources related to business operations, including contacts, employees, estimates, invoices, jobs, line items, websites, WhatsApp messages, users, tasks, suppliers, and settings. Specifically, for the Line Item resource with the Delete Line Item operation, the node deletes a specified line item associated with a website.

Common scenarios where this node is beneficial include automating the management of sales or service records by programmatically removing obsolete or incorrect line items from invoices or estimates within a business workflow. For example, if an invoice contains a line item that was added by mistake, this node can be used to delete that line item automatically as part of a larger automation process.

Properties

Name Meaning
Website ID The unique identifier of the website under which the line item exists.
Line Item ID The unique identifier of the line item to be deleted.

Output

The output of the node after deleting a line item is a JSON object containing the response from the WibiClick API. This typically includes confirmation of the deletion or details about the deleted line item. The exact structure depends on the API's response but generally indicates success or failure of the deletion request.

Example output JSON:

{
  "json": {
    // API response confirming deletion or error details
  }
}

The node does not output binary data for this operation.

Dependencies

  • Requires an active connection to the WibiClick API.
  • Requires an API key credential for authentication with the WibiClick API.
  • The node uses HTTP requests to communicate with the API endpoints.
  • No additional external dependencies are required beyond the configured API credentials.

Troubleshooting

  • Missing or invalid Website ID or Line Item ID: Ensure both IDs are correctly provided; otherwise, the API will reject the request.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • API endpoint errors: If the API returns an error (e.g., item not found), check that the line item exists and belongs to the specified website.
  • Network issues: Confirm network connectivity to the WibiClick API server.
  • Error messages: The node throws errors with messages from the API or generic messages like "Failed to delete line item." Review these messages to identify the cause.

Links and References

Discussion