Actions31
- Authentication Actions
- Catalog Actions
- Category Tree Actions
- Item Actions
- Locale Actions
Locale → Get Default Locale
AI-generatedOverview
This node operation retrieves the default locale for a specified tenant and environment from the Fredhopper Product Discovery API. It is useful for scenarios where you need to programmatically obtain the default locale settings for a particular environment in a multi-tenant system, such as for localization or internationalization purposes.
Use Case Examples
- Get the default locale for tenant 'TenantA' in the 'Production' environment to configure localized content delivery.
- Retrieve the default locale to verify or audit locale settings across different environments in a multi-tenant setup.
Properties
| Name | Meaning |
|---|---|
| Tenant | The tenant identifier for which the default locale is to be retrieved. |
| Environment | The environment (e.g., development, staging, production) associated with the tenant. |
| FHR Validation | A boolean flag to enable or disable Fredhopper validation for the request. |
Output
JSON
locale- The default locale string returned by the API for the specified tenant and environment.
Dependencies
- Fredhopper Product Discovery API with authentication via an API key credential
Troubleshooting
- Ensure that the tenant and environment parameters are correctly specified and correspond to valid entries in the Fredhopper system.
- Authentication errors may occur if the API credentials are invalid or expired; verify the API key credential used for authentication.
- If the API returns an error, check network connectivity and API endpoint availability.
- The 'FHR Validation' flag should be set appropriately based on whether Fredhopper validation is required; incorrect settings may cause request failures.
Links
- Fredhopper Product Discovery API Documentation - Official API documentation for understanding endpoints and parameters related to locale management.