Bloomreach Search & Merchandising Connector Configuration
This Bloomreach Experience Manager feature requires a standard or premium license. Please contact Bloomreach for more information.
Introduction
As explained in Configure brX GraphQL Service, the .env file contains the connection settings to integrate with Bloomreach Search & Merchandising.
Configuration Options
The following options are supported:
Property Name | Description | Example Value(s) | Default Value |
---|---|---|---|
BRSM_API | The URL of the Bloomreach Search & Merchandising Core API. |
'http://core.dxpapi.com/api' |
|
BRSM_SUGGESTION_API | The URL of the Bloomreach Search & Merchandising Suggestion API. | 'https://suggest.dxpapi.com/api' | |
BRSM_ACCOUNT_ID | The account ID associated to your domain. | '0000' | |
BRSM_DOMAIN_KEY | The domain key value of your Bloomreach Search & Merchandising cloud instance. | 'my_brsm_instance' | |
BRSM_CUSTOM_ATTR_FIELDS |
If a list of field names is specified as a comma separated string, then extra custom fields are extracted from the product item in the JSON response and included in the the GraphQL response like the following example: { "data": { "findItemsByKeyword": { //... "items": [ { //... "customAttrs": [ { "name": "brand", "values": [ "Michelin" ] }, { "name": "score", "values": [ "0.014996755" ] } ] }, //... ] } } } |
'brand,score' | |
BRSM_CUSTOM_VARIANT_ATTR_FIELDS |
If a list of field names is specified as a comma separated string, then extra custom fields are extracted from the product variant item in the JSON response and included in the the GraphQL response like the following example: { "data": { "findItemById": { //... "variants": [ { //... "customAttrs": [ { "name": "color_code", "values": [ "78T" ] } ] }, //... ] } } } |
'color_code' |
The API client data can be retrieved from your Bloomreach Search & Merchandising instance, more specifically on https://tools.bloomreach.com/, under the Configuration tab.