ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions98

Overview

This node integrates with the ScaleFluidly API, allowing users to perform various operations across multiple resources such as Admin, Quote, Configure, Pricing, and MCP. Specifically, for the Admin resource and the Update Category Pricebooks operation, it enables updating pricebook associations for product categories within the ScaleFluidly system.

Typical use cases include automating updates to category-pricebook relationships in sales or pricing workflows, ensuring that product categories are linked to the correct pricebooks dynamically based on business logic or external triggers.

For example, a user might update which pricebooks apply to a specific product category after a pricing strategy change or when onboarding new products into the system.

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 the base URL for the API requests.
Request JSON object representing the request body sent to the API for the operation. This contains the details necessary to update category pricebooks, such as category IDs, pricebook IDs, and any other relevant data required by the API endpoint.

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 represents the API response for the respective update operation performed on category pricebooks.

If the API returns binary data (not indicated here), it would be included accordingly, but this operation primarily deals with JSON responses reflecting success, failure, or updated resource details.

Dependencies

  • Requires access to the ScaleFluidly API endpoints.
  • Needs an API authentication token (bearer token) provided via the input data headers or configured credentials.
  • The node uses HTTP requests with appropriate authorization headers to communicate with the ScaleFluidly backend.
  • No explicit mention of environment variables; however, the environment selection controls the API base URL.

Troubleshooting

  • Bearer token not found: If the first input item does not contain an authorization header with a bearer token, the node will throw an error. Ensure that the input JSON includes valid authorization headers or that credentials are properly configured.
  • Operation not found: If the specified operation (intent) is not mapped in the internal intent-to-URL map, the node will raise an error indicating the operation is unknown. Verify the operation name matches supported actions.
  • Invalid request body: Since the request body is user-provided JSON, malformed or incomplete JSON may cause API errors. Validate the JSON structure before execution.
  • Environment URL issues: Selecting an incorrect environment or having network connectivity problems to the chosen environment URL can cause request failures.

Links and References


This summary focuses on the "Admin" resource and "Update Category Pricebooks" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion