Fredhopper Product Discovery icon

Fredhopper Product Discovery

Interact with Fredhopper Product Discovery API

Item → Patch Items

AI-generated

Overview

This node interacts with the Fredhopper Product Discovery API to patch (update partially) items in a specified tenant and environment. It is useful for scenarios where you need to update existing product data without replacing the entire item record. For example, you might want to update the price or availability of products in an e-commerce catalog without affecting other item attributes.

Use Case Examples

  1. Updating product prices in a catalog by patching item data.
  2. Modifying inventory levels for specific items without full replacement of item data.

Properties

Name Meaning
Tenant The tenant identifier where the items exist, required to specify the scope of the patch operation.
Environment The environment within the tenant where the items exist, required to specify the scope of the patch operation.
FHR Validation Boolean flag to enable or disable Fredhopper validation for the patch request.
Product Data The JSON string containing the partial item data to patch in the catalog, required for the patch operation.

Output

JSON

  • response - The JSON response from the Fredhopper Product Discovery API after patching items, containing details of the updated items or operation status.

Dependencies

  • Requires an API key credential for authentication with the Fredhopper Product Discovery API.

Troubleshooting

  • Authentication failures due to invalid or missing API credentials. Ensure the API key credential is correctly configured.
  • Invalid JSON in the 'Product Data' input property can cause request failures. Validate JSON format before execution.
  • API errors related to tenant or environment parameters if they are incorrect or missing.
  • Errors indicating unsupported operations if the operation parameter is not set to 'patchItems'.

Discussion