Actions31
- Authentication Actions
- Catalog Actions
- Category Tree Actions
- Item Actions
- Locale Actions
Locale → Set Default Locale
AI-generatedOverview
This node operation sets the default locale for a specified tenant and environment in the Fredhopper Product Discovery system. It is useful for configuring the default language or regional settings for product data processing and display. For example, setting the default locale to 'en' for an English-speaking tenant environment ensures that product information is localized accordingly.
Use Case Examples
- Set the default locale to 'en' for tenant 'tenant123' in the 'production' environment.
- Change the default locale to 'fr' for tenant 'tenant456' in the 'staging' environment.
Properties
| Name | Meaning |
|---|---|
| Tenant | The tenant identifier for which the default locale is being set. |
| Environment | The environment (e.g., production, staging) for the tenant where the locale setting applies. |
| FHR Validation | Boolean flag to enable or disable Fredhopper validation for the request. |
| Default Locale | The locale code to set as the default (e.g., 'en' for English). |
Output
JSON
response- The HTTP response from the API call to set the default locale, typically empty or confirmation of success.
Dependencies
- Requires an API key credential for authentication to the Fredhopper Product Discovery API.
Troubleshooting
- Ensure the tenant and environment parameters are correctly specified and exist in the Fredhopper system.
- Verify that the API credentials are valid and have permission to modify locale settings.
- If the API call fails, check network connectivity and the correctness of the API endpoint URL.
- The node may throw errors if the default locale value is invalid or not supported by the system.