Fredhopper Product Discovery icon

Fredhopper Product Discovery

Interact with Fredhopper Product Discovery API

Item → Create an Item Schema

AI-generated

Overview

This node operation allows users to create an item schema in the Fredhopper Product Discovery API. It is useful for defining the structure and validation rules for items in a catalog, ensuring data consistency and integrity. For example, a user can define a schema that specifies required fields and data types for product items before ingesting them into the system.

Use Case Examples

  1. Creating a new item schema for a tenant and environment to enforce data validation on product items.
  2. Defining custom attributes and validation rules for items in a catalog to improve data quality.

Properties

Name Meaning
schemaTenant The tenant identifier under which the item schema will be created.
schemaEnvironment The environment (e.g., production, staging) where the schema will be applied.
schemaData The JSON string representing the schema definition, including fields and validation rules.

Output

JSON

  • * - The JSON response from the Fredhopper API representing the created item schema details.

Dependencies

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

Troubleshooting

  • Ensure the schemaData is valid JSON and conforms to the expected schema format to avoid request errors.
  • Authentication errors may occur if the API credentials are incorrect or expired; verify credentials and re-authenticate if needed.
  • Network or API endpoint issues can cause request failures; check connectivity and API status.

Links

Discussion