Fredhopper Product Discovery icon

Fredhopper Product Discovery

Interact with Fredhopper Product Discovery API

Item → Upsert Items

AI-generated

Overview

This node interacts with the Fredhopper Product Discovery API to upsert (create or update) items in a specified tenant and environment. It is useful for synchronizing product data by sending JSON-formatted product information to the API, optionally enabling FHR validation to ensure data integrity. Practical use cases include updating product catalogs or adding new products in e-commerce platforms.

Use Case Examples

  1. Upserting a batch of product items with detailed attributes to keep the product catalog current.
  2. Adding new products to an existing catalog while validating the data against Fredhopper's schema.

Properties

Name Meaning
Tenant The tenant identifier where the items will be upserted. This is required to specify the target environment in the Fredhopper system.
Environment The environment within the tenant where the items will be upserted, such as development, staging, or production.
FHR Validation A boolean flag to enable or disable Fredhopper validation on the product data being upserted.
Product Data The JSON string containing the product data to be upserted. This must be a valid JSON representing the items.

Output

JSON

  • response - The JSON response from the Fredhopper API after attempting to upsert the items, containing details about the operation's success or failure.

Dependencies

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

Troubleshooting

  • Authentication errors may occur if the API credentials are incorrect or expired. Ensure the API key and tenant information are valid.
  • Invalid JSON in the 'Product Data' property will cause the request to fail. Validate the JSON format before sending.
  • If the API returns errors related to data validation, check the 'FHR Validation' flag and the product data schema compliance.
  • Network or API endpoint issues can cause request failures; verify network connectivity and API URL correctness.

Links

Discussion