Leanios icon

Leanios

Actions24

Overview

This node integrates with the Leanios API to perform various operations on different resources such as products, transactions, productions, workorders, orders, and warehouses. Specifically, for the Warehouse resource with the getById operation, it retrieves detailed information about a single warehouse by its unique identifier.

Common scenarios where this node is useful include:

  • Fetching specific warehouse details for inventory management or reporting.
  • Integrating warehouse data into workflows that require up-to-date location or stock information.
  • Automating retrieval of warehouse metadata in supply chain automation.

Example: You want to get the details of a warehouse with ID 123 from your Leanios account hosted under the subdomain "dummy". This node will call the Leanios API endpoint for that warehouse and return its data as JSON.

Properties

Name Meaning
Subdomain The Leanios account subdomain used to construct the API URL (e.g., "dummy").
id The unique numeric identifier of the warehouse to retrieve. Required for getById.

Output

The node outputs an array containing a single JSON object representing the warehouse data retrieved from the Leanios API. The structure of this JSON object corresponds directly to the API response for a warehouse entity, typically including fields such as warehouse name, address, capacity, and other relevant metadata.

No binary data output is produced by this node.

Dependencies

  • Requires an active Leanios API credential consisting of a username and password for basic authentication.
  • Needs the user to specify the correct subdomain corresponding to their Leanios account.
  • The node makes HTTP requests to the Leanios REST API at URLs formatted as https://{Subdomain}.leanios.com/api/v1/warehouses/{id}.

Troubleshooting

  • Invalid Credentials Error: If the API credentials are incorrect or missing, the node will fail to authenticate. Ensure valid username and password are provided in the credentials.
  • Resource Not Found: If the specified warehouse ID does not exist, the API may return a 404 error. Verify the ID is correct.
  • Network Issues: Connectivity problems or incorrect subdomain can cause request failures. Confirm the subdomain is accurate and the network allows outbound HTTPS requests.
  • Missing Required Parameters: The node requires both Subdomain and id parameters for the getById operation. Omitting these will cause errors.

Error messages thrown by the node will contain the API error message returned by Leanios, which should guide troubleshooting.

Links and References

Discussion