Commercetools FAQ

Where is the mapping for products defined?

The Commercetools product data is pulled and exposed in service/src/services/commercetools-catalog-ingestion.ts. The exposed data is then mapped into Bloomreach in service/src/services/bloomreach-engagement-product-import.ts.

Where is the mapping for products defined?

The Commercetools product data is pulled and exposed in service/src/services/commercetools-catalog-variants-ingestion.ts. The exposed data is then mapped into Bloomreach in service/src/services/bloomreach-engagement-product-import.ts.

Where is the mapping for customers defined?

The Commercetools product data is pulled and exposed in service/src/services/commercetools-customer-ingestion.ts. The exposed data is then mapped into Bloomreach in service/src/services/bloomreach-engagement-customer-import.ts.

Where is the mapping for orders defined?

The commercetools order data is mapped into Bloomreach in event/src/controllers/event.controller.ts.

What is the BASIC_AUTH_SECRET env variable for?

Bloomreach will consume customer and product data from an endpoint exposed by the connector. This endpoint is secured using basic HTTP authentication, where the username is the CTP_PROJECT_KEY and the password is the BASIC_AUTH_SECRET.

Why is the BLOOMREACH_ENGAGEMENT_CATALOG_LOCALE env variable needed?

Commercetools has built-in i18n support by default. The desired [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) must be specified to consume the catalog data.

How can the settings of the import jobs setup be modified in Bloomreach?

See the services under service/src/services to modify settings like frequency, time of day, and other settings.