ScaleFluidly icon

ScaleFluidly

Consume ScaleFluidly API

Actions224

Overview

The "Apply Favorite Carts" operation within the "Configure" resource of this ScaleFluidly node allows users to apply a saved favorite cart configuration to a quote or order context. This operation is useful in scenarios where predefined product bundles or frequently used cart setups need to be quickly applied without manually adding each item every time.

Typical use cases include:

  • Sales teams applying standard product bundles to customer quotes.
  • Automating the reuse of commonly configured carts for faster order processing.
  • Ensuring consistency in product selections across multiple quotes or orders by using saved favorite carts.

For example, a sales representative can select a favorite cart that includes a set of products tailored for a specific customer segment and apply it directly to a new quote, saving time and reducing errors.

Properties

Name Meaning
Environment The environment URL to which the API requests will be sent. Options are:
- Dev: https://documentation-dev.scalefluidly.com
- QA: https://documentation.scalefluidly.com
- Local: http://localhost:8400
Request JSON object representing the request body to be sent with the operation. This contains the details necessary for applying the favorite cart, such as identifiers for the cart and target quote/order, and any additional parameters 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 result of applying the favorite cart, typically including confirmation details, updated quote/order information, or error messages if the operation failed.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the ScaleFluidly API endpoints specified by the selected environment.
  • Optionally uses an API authentication token (bearer token) passed via the authorization header in the first input item's JSON headers. If not provided, the node attempts to use configured credentials for authentication.
  • No other external dependencies are required.

Troubleshooting

  • Bearer token not found: If the authorization token is missing in the first input item's headers and no credential is configured, the node will throw an error. Ensure that either the first input item includes a valid bearer token in its headers or that the node has proper API credentials configured.
  • Operation not found: If the operation name does not map to a known intent URL, an error will be thrown. Verify that the operation parameter is correctly set to "apply_favorite_carts".
  • 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.
  • API endpoint unreachable: Selecting an incorrect environment URL or network issues may prevent successful API calls. Confirm the environment setting and network connectivity.

Links and References


This summary focuses on the "Configure" resource and the "Apply Favorite Carts" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion