ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

This node integrates with the ScaleFluidly API, allowing users to perform various operations across multiple resources such as Admin, Quote, Configure, Pricing, MCP, and Product. Specifically for the Admin resource and the Edit Product UOM operation, it enables editing a product's unit of measure (UOM) details by sending a JSON request body to the appropriate ScaleFluidly API endpoint.

Common scenarios where this node is beneficial include:

  • Automating updates to product measurement units in an inventory or catalog system.
  • Integrating product data management workflows with ScaleFluidly’s backend services.
  • Streamlining administrative tasks related to product configurations without manual API calls.

For example, a user can update the conversion rates or descriptions of product UOMs programmatically within an n8n workflow, triggered by events such as product updates or inventory audits.

Properties

Name Meaning
Environment The target environment for the API call. Options: Dev (https://documentation-dev.scalefluidly.com), QA (https://documentation.scalefluidly.com), Local (http://localhost:8400). Determines which ScaleFluidly instance the request is sent to.
Request The JSON-formatted request body containing the details for editing the product UOM. This must conform to the expected API schema for the "edit_product_uom" operation.

Output

The node outputs an array of JSON objects corresponding to the responses from the ScaleFluidly API for each input item processed. Each JSON object contains the API response data for the edit product UOM request.

If the API returns binary data (not typical for this operation), it would be included accordingly, but based on the static analysis, the output primarily consists of JSON responses representing the result of the edit operation.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Optionally uses an API authentication token if provided in the input data headers under authorization.
  • No explicit internal credential names are exposed; users must configure an API key or token as per their ScaleFluidly setup.
  • The node dynamically selects the API URL based on the chosen environment property.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization header with a bearer token, and no prior token is stored, the node will throw an error. Ensure that the authorization token is correctly passed in the input data headers or configured via credentials.
  • Operation not found error: If the specified operation (intent) does not match any known API endpoint mapping, the node throws an error indicating the operation is invalid. Verify the operation name matches one of the supported ScaleFluidly API actions.
  • Invalid JSON in Request: Since the request body is user-provided JSON, malformed JSON or missing required fields may cause API errors. Validate the JSON structure before execution.
  • Environment URL issues: Selecting an incorrect or unreachable environment URL will cause request failures. Confirm the environment setting corresponds to a valid and accessible ScaleFluidly instance.

Links and References


This summary focuses on the Admin resource's Edit Product UOM operation, describing its inputs, outputs, and usage context based on the provided source code and properties.

Discussion