Leanios icon

Leanios

Actions24

Overview

This node integrates with the Leanios API to perform operations on various resources, including Orders. Specifically, for the Order resource with the getById operation, it retrieves detailed information about a single order by its unique identifier. This is useful when you need to fetch specific order data from Leanios for processing, reporting, or further automation within your workflows.

Practical examples:

  • Fetching an order's details to verify its status before proceeding with shipment.
  • Retrieving order information to update inventory or trigger notifications.
  • Accessing order data for custom reporting or analytics.

Properties

Name Meaning
Subdomain The Leanios account subdomain used to construct the API endpoint URL (e.g., "dummy").
reference (Optional) A string reference related to the order; usage depends on context but not required for getById.

Note: For the getById operation, the node expects an additional property named id (not listed in the provided properties) which specifies the unique identifier of the order to retrieve.

Output

The node outputs a JSON array containing the full details of the requested order as returned by the Leanios API. The structure corresponds directly to the API response for an order object, typically including fields such as order ID, customer info, items, status, dates, and other metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Leanios API, specifically a username and password for basic authentication.
  • The node needs the user to specify the correct Leanios subdomain to form the API request URL.
  • Network access to https://{Subdomain}.leanios.com/api/v1/orders/{id} must be available.

Troubleshooting

  • Common issues:
    • Incorrect or missing subdomain will cause the API request to fail due to invalid URL.
    • Missing or incorrect credentials will result in authentication errors.
    • Providing an invalid or non-existent order ID will lead to API errors indicating the resource was not found.
  • Error messages:
    • Authentication failures typically return messages about unauthorized access; ensure credentials are correct.
    • If the node throws an error mentioning inability to reach the API, check network connectivity and subdomain correctness.
    • Errors about missing parameters usually mean the required id parameter was not supplied.

Links and References

Discussion