Actions31
- Authentication Actions
- Catalog Actions
- Category Tree Actions
- Item Actions
- Locale Actions
Authentication → Get Token
AI-generatedOverview
This node interacts with the Fredhopper Product Discovery API to perform authentication by obtaining an access token. It is useful in scenarios where you need to authenticate API requests to the Fredhopper Product Discovery service, such as when integrating product discovery features into your workflows. For example, you can use this node to get an OAuth2 access token using client credentials, which can then be used to authorize subsequent API calls.
Use Case Examples
- Use the node to get an access token for Fredhopper Product Discovery API by providing API credentials (username, password, tenant ID, and auth URL).
- Use the obtained token to authenticate further requests to manage catalogs, items, or category trees within the Fredhopper Product Discovery platform.
Output
JSON
access_token- The OAuth2 access token obtained from the authentication requesttoken_type- Type of the token, typically 'Bearer'expires_in- Duration in seconds for which the token is validscope- Scope of the access token, if provided
Dependencies
- Requires an API key credential with username, password, tenant ID, and authentication URL for the Fredhopper Product Discovery API.
Troubleshooting
- Common issues include authentication failure due to incorrect credentials or tenant ID, resulting in errors like 'Failed to obtain access token' or 'Authentication failed'.
- Ensure the auth URL is correctly formatted with the tenant ID replaced in the URL template.
- Check network connectivity and API endpoint availability if requests time out or fail.
Links
- Fredhopper Product Discovery API Authentication - Official documentation for authenticating with the Fredhopper Product Discovery API.