Comarch

How to create Comarch Sync

1. Setup Cohort on Comarch

First, you will need to create a JIRA ticket on Comarch to ask them to setup Cohort on your account. They will setup a few things and provide you with credentials that you will require in the next steps.

2. Connection Configuration

  1. Go to the cogwheel in the top right corner of your Cohort Admin interface and select the Apps section

  2. Find Comarch app and click Connect

  3. In API URL, enter The URL of the Comarch API (without the /b2b/ path) Example:https://sandbox-ccf1-preview.clm-comarch.com

  4. (Optional) Fill in the Program ID (numbers only) or Program Code

  5. (Optional) In Partner, enter one if you want to use a specific partner

  6. In Username, enter the username of the user created on step 1

  7. In Password, enter the password of the user created on step 1

  8. In Cohort Event Transaction Type, enter the code of the transaction type created on step 1

4. Configure the User Event export

Select all the Cohort User Events you want to export to Comarch.

The User Events will be exported as a cohort_event transactions that you defined in step 2, where event_type attribute will be the type of event (cohort.challenge-completed, cohort.app-connected , …) and all the data specific to the event will be present in JSON format in the event_properties attribute.

Configure a Business Rule on Comarch

Depending on what you want to do, the Comarch team can assist you on creating the business rule. Here is an example of some business rules you can setup:

  • Give loyalty points when a user completes a Challenge on Cohort

  • ...

Last updated