Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Item Stock → List Of Item Stock

AI-generated

Overview

This node integrates with the Halo PSA API to retrieve a list of item stock records. It is designed to query and fetch inventory stock details for items managed within the Halo PSA system. This operation is useful in scenarios where you need to monitor stock levels, track inventory locations, or generate reports on available stock.

Practical examples include:

  • Automatically syncing stock data from Halo PSA into another system.
  • Triggering alerts when stock levels fall below a threshold.
  • Generating inventory reports filtered by item or location.

Properties

Name Meaning
Count Number of records to return in the response.
Idonly Option to return only IDs of the item stock entries.
Item Id Filter results by a specific item identifier.
Order Primary field to order the results by (string).
Order 2 Secondary ordering field.
Order 3 Tertiary ordering field.
Order 4 Fourth level ordering field.
Order 5 Fifth level ordering field.
Orderdesc Boolean or flag indicating descending order for primary order field.
Orderdesc 2 Descending order flag for secondary order field.
Orderdesc 3 Descending order flag for tertiary order field.
Orderdesc 4 Descending order flag for fourth order field.
Orderdesc 5 Descending order flag for fifth order field.
Page No Page number for paginated results.
Page Size Number of records per page in pagination.
Pageinate Flag to enable or disable pagination.
Stockbin Id Filter results by a specific stock bin identifier.
Stocklocation Id Filter results by a specific stock location identifier.

Output

The node outputs an array of JSON objects representing item stock records retrieved from the Halo PSA API. Each object contains fields corresponding to the stock details such as item identifiers, quantities, locations, and other metadata as provided by the API.

If binary data were involved (e.g., attachments), it would be included in a separate binary property, but this operation deals solely with JSON data.

Dependencies

  • Requires an API key credential for authenticating with the Halo PSA API.
  • The node expects configuration of base URL, tenant ID, client ID, and client secret for the Halo PSA service.
  • Uses HTTP requests to communicate with the Halo PSA REST API endpoints.

Troubleshooting

  • No credentials returned!
    This error indicates missing or misconfigured API authentication credentials. Ensure that the required API key or authentication token is properly set up in n8n credentials.

  • Resource or Operation not found
    If the specified resource ("Item Stock") or operation ("List Of Item Stock") is not recognized, verify that the node parameters are correctly set and match the supported values.

  • API request failures
    Network issues, invalid parameters, or permission problems can cause API errors. Check the API endpoint URL, query parameters, and ensure the API user has sufficient permissions.

  • JSON parsing errors
    If using advanced JSON parameters, ensure that any JSON strings are well-formed and valid.

Links and References

Discussion