Actions31
- Authentication Actions
- Catalog Actions
- Category Tree Actions
- Item Actions
- Locale Actions
Category Tree → Create a Category Tree
AI-generatedOverview
This node operation creates a new Category Tree in the Fredhopper Product Discovery system. It is useful for users who need to programmatically add category trees to organize products or items within their catalog environment. For example, an e-commerce platform can use this operation to dynamically create category trees based on new product classifications or marketing strategies.
Use Case Examples
- Creating a new category tree for a tenant's product catalog in a specific environment with optional Fredhopper validation enabled.
- Automating the setup of category trees during catalog initialization or updates.
Properties
| Name | Meaning |
|---|---|
| Tenant | The tenant identifier for which the category tree is being created. |
| Environment | The environment (e.g., development, production) where the category tree will be created. |
| FHR Validation | Boolean flag to enable or disable Fredhopper validation during the creation process. |
| Category Tree Data | The JSON string representing the category tree structure and details to be created. |
Output
JSON
name- Name of the created category tree.version- Version of the created category tree.created- Timestamp when the category tree was created.updated- Timestamp when the category tree was last updated.description- Description of the category tree.
Dependencies
- Requires an API key credential for authentication to the Fredhopper Product Discovery API.
Troubleshooting
- Ensure the tenant and environment parameters are correctly set and correspond to valid entries in the Fredhopper system.
- Verify that the category tree data is valid JSON and conforms to the expected schema for category trees.
- If authentication fails, check that the API credentials are correct and have the necessary permissions.
- If the API returns errors related to validation, consider enabling or disabling the FHR Validation flag to troubleshoot data issues.