Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Item Stock → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Item Stock resource and the Delete Undefined operation, it deletes an undefined item stock entry identified by its ID.

Common scenarios where this node is beneficial include automating inventory management tasks such as cleaning up invalid or undefined stock entries in a system, ensuring data consistency, or integrating stock deletion workflows into larger automation pipelines.

For example, you might use this node to automatically remove obsolete or incorrectly created stock items from your inventory database based on certain triggers or schedules.

Properties

Name Meaning
Id The numeric identifier of the item stock entry to delete. This property is required.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified item stock entry. The output JSON typically contains confirmation of the deletion or details about the deleted item.

If an error occurs during the request, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires an active connection to the Halo PSA API.
  • Requires credentials including:
    • Base URL of the Halo PSA instance.
    • Tenant identifier.
    • Client ID.
    • Client Secret.
  • These credentials must be configured in n8n before using the node.

Troubleshooting

  • No credentials returned!
    This error indicates that the node could not retrieve the necessary API credentials. Ensure that the API credentials are properly set up and assigned to the node.

  • Resource or Operation not found
    If the specified resource or operation is incorrect or missing, the node will throw an error. Verify that "Item Stock" is selected as the resource and "Delete Undefined" as the operation.

  • API request errors
    Errors returned from the Halo PSA API (e.g., invalid ID, permission issues) will appear in the output JSON under the error key if "Continue On Fail" is enabled. Otherwise, they will cause the node execution to fail. Check the error message for details and verify the correctness of the input ID and API permissions.

Links and References

Discussion