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 POST operation, it allows users to create new warehouse entries by sending JSON data to the Leanios backend.

Common scenarios include automating warehouse data creation in Leanios from other systems or workflows, such as adding new warehouse records when inventory is updated or when new storage locations are provisioned.

Example use case: Automatically creating a new warehouse record in Leanios when a new physical warehouse is set up, by providing the necessary details in JSON format through this node.

Properties

Name Meaning
Subdomain The Leanios account subdomain to target (e.g., "dummy" would target https://dummy.leanios.com). This identifies the specific Leanios instance.
Request Mode The mode of request payload; currently supports only jsonBody which means the request body is sent as JSON.
jsonBody The JSON object representing the data to be sent in the POST request to create the warehouse. This contains all relevant fields for the warehouse resource.

Output

The node outputs a JSON array containing the response from the Leanios API after the POST request. This typically includes the newly created warehouse object with its properties as returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires an active Leanios API credential with username and password for authentication.
  • Needs network access to the Leanios API endpoint at https://{Subdomain}.leanios.com/api/v1/warehouses.
  • The node expects the user to provide valid JSON data for the warehouse creation in the jsonBody property.

Troubleshooting

  • Authentication errors: If the API credentials are incorrect or missing, the node will fail with an authentication error. Ensure that valid Leanios API credentials are configured.
  • Invalid JSON body: If the jsonBody property contains malformed JSON or missing required fields, the API may reject the request. Validate the JSON structure before execution.
  • Incorrect Subdomain: Using an invalid or misspelled subdomain will cause connection failures. Verify the subdomain matches your Leanios account.
  • API errors: Any error messages returned by the Leanios API (such as validation errors) will be surfaced by the node. Review the error message for details and adjust the input accordingly.

Links and References

Discussion