DiscoveryApiConfig
Discovery API configuration for new generated APIs.
interface DiscoveryApiConfig {
accountId: number;
authKey?: string;
autosuggest?: SubApiConfig;
bestseller?: SubApiConfig;
contentSearch?: SubApiConfig;
domainKey: string;
emailWidget?: SubApiConfig;
recommendationsPathways?: SubApiConfig;
search?: SearchApiConfig;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
accountId | Required | number | Your site's numerical Bloomreach account ID. |
authKey | Optional | string | Authentication key for the Bloomreach account. |
autosuggest | Optional | SubApiConfig | Configuration for the Autosuggest API. Resolved default basePath: https://suggest.dxpapi.com/api/v2/suggest |
bestseller | Optional | SubApiConfig | Configuration for the Bestseller API. Resolved default basePath: https://core.dxpapi.com/api/v1/core |
contentSearch | Optional | SubApiConfig | Configuration for the Content Search API. Resolved default basePath: https://core.dxpapi.com/api/v1/core |
domainKey | Required | string | Your site domain's key, provided by Bloomreach. |
emailWidget | Optional | SubApiConfig | Configuration for the Email Widget API. Resolved default basePath: https://pathways-email.dxpapi.com |
recommendationsPathways | Optional | SubApiConfig | Configuration for the Recommendations & Pathways API. Resolved default basePath: https://pathways.dxpapi.com/api/v2/widgets |
search | Optional | SearchApiConfig | Configuration specific to the Product Search / Category API. Resolved default basePath: https://core.dxpapi.com/api/v1/core |