Fredhopper Product Discovery icon

Fredhopper Product Discovery

Interact with Fredhopper Product Discovery API

Authentication → Get Token

AI-generated

Overview

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

  1. Use the node to get an access token for Fredhopper Product Discovery API by providing API credentials (username, password, tenant ID, and auth URL).
  2. 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 request
  • token_type - Type of the token, typically 'Bearer'
  • expires_in - Duration in seconds for which the token is valid
  • scope - 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

Discussion