ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions98

Overview

This node integrates with the ScaleFluidly API to perform various operations across multiple resources, including Admin, Quote, Configure, Pricing, and MCP. Specifically for the Admin resource and the Delete Category Products operation, it allows users to delete products associated with a particular category in the ScaleFluidly system.

Common scenarios where this node is beneficial include:

  • Managing product catalogs by removing outdated or incorrect product-category associations.
  • Automating cleanup tasks in product management workflows.
  • Integrating with other systems to synchronize product-category relationships dynamically.

For example, a user might use this node to remove all products from a category before reassigning new products or updating category details.

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). This determines which ScaleFluidly instance the request will be sent to.
Request JSON object containing the request body specific to the Delete Category Products operation. This should include necessary identifiers and data required by the API to delete the products from the specified category.

Output

The node outputs an array of JSON objects representing the responses from the ScaleFluidly API for each input item processed. Each JSON object corresponds to the API response for the deletion request made.

  • The json output field contains the parsed JSON response from the API.
  • If the API returns binary data (not typical for this operation), it would be included accordingly, but this operation primarily deals with JSON responses confirming deletion status.

Dependencies

  • Requires access to the ScaleFluidly API endpoint corresponding to the selected environment.
  • Optionally uses an API authentication token passed via an authorization header extracted from the first input item's JSON headers.
  • No explicit internal credential names are exposed; users must provide valid authorization tokens as part of the input data or configure credentials externally.
  • The node depends on n8n's HTTP request helper methods to communicate with the ScaleFluidly API.

Troubleshooting

  • Bearer token not found error: If the first input item does not contain an authorization token in its headers, and no other means of authentication is provided, the node will throw an error. Ensure that the first input item includes a valid bearer token in json.headers.authorization.
  • Operation not found error: If the operation name does not match any known intent URL mapping, the node will throw an error indicating the operation is not found. Verify that the operation parameter is correctly set to "delete_category_products" under the Admin resource.
  • API request failures: Network issues, invalid tokens, or malformed request bodies can cause API errors. Check the request JSON structure and ensure the environment URL is correct.
  • Empty or invalid request body: The request_info property must be a valid JSON object matching the API's expected schema for deleting category products.

Links and References


This summary focuses exclusively on the Admin resource's Delete Category Products operation based on the provided source code and properties.

Discussion