Skip to main content

Integrating with Talon One

You can integrate Commerce with Talon One in Commerce Manager. Talon One is a promotion management engine that allows you to manage your promotions, referral, and loyalty strategies. This integration allows you to use Commerce catalog data in your Talon One promotions.

The integration supports the following features:

  • catalog changes in Commerce changes product data in Talon One.
  • customer changes in Commerce changes customer data in Talon One.

Talon One Integration Templates

The Talon One Integration uses product and customer request templates that contain all the parameters required for the Talon One Integration to function correctly. The Talon One Integration provides default templates. However, when configuring the integration, you can edit the product and customer templates using JSONata. For example, you can transform the product data from a catalog synchronization into the Talon One format, adding any data you require. Once updated and saved, the integration reviews the attributes provided in the templates and adds any that are not currently present in Talon One.

Collecting Your Integration Setup Information

Before you configure the integration in Commerce Manager, you need to collect the necessary setup information from Talon One and Commerce Manager.

Collecting Talon One Setup Information

You can find this information on the Recharge Dashboard in Apps > API tokens.

OptionDescription
API KeyThe Talon One API key you created for this integration.
API Base URLYour Base URL for Talon One. For example, https://yourbaseurl.talon.one/.
Talon One Admin User EmailThe email address you used for your Talon One Admin User.
Talon One Admin User PasswordThe password you used for your Talon One Admin User.
Talon One Catalog IDThe ID of the Talon One catalog that you want to synchronize your Commerce data with.

Collecting Commerce Manager Setup Information

Collect the following Commerce API keys. When you log in to Commerce Manager as a Seller Admin, you can find this information in SYSTEM > Application Keys in Commerce Manager.

Commerce API KeyDescription
API Base URLYour Commerce API Base URL.
Client IDYour Commerce Client ID.
Client SecretYour Commerce Client Secret.
note

When integrating with third-party providers, we recommend you use the closest region in the third-party service to reduce latency as much as possible. See Regions and URLs table.

Configuring Integration

  1. In Commerce Manager, go to COMPOSER > Integrations Hub.

  2. Under Promotions, click Talon One.

  3. Click Configure. The integration guides you through the steps you need to follow.

  4. Click Next. The Connections page is displayed.

  5. Enter the following details in Commerce Connection:

    NameDescription
    Client IDYour Commerce Client ID.
    Client SecretYour Commerce Client Secret
    Token URLYour Commerce API Token URL. For example, https://euwest.api.elasticpath.com (EU) or https://useast.api.elasticpath.com (US). See Regions and URLs.
  6. Click Connect. The authorization is successfully completed.

  7. Enter the following details for Talon One:

    OptionDescription
    API KeyThe Talon One API key you created for this integration.
    API Base URLYour Base URL for Talon One. For example, https://yourbaseurl.talon.one/.
    Talon One Admin User EmailThe email address you used for your Talon One Admin User.
    Talon One Admin User PasswordThe password you used for your Talon One Admin User.
    Talon One Catalog IDThe ID of the Talon One catalog that you want to synchronize your Commerce data with.
  8. Click Next. The Configurations pane is displayed.

  9. Click Store Configuration Rules. The Store Configuration Rules are automatically configured to allow the integration access to flows, so no further action is required.

  10. Click Next. The Templates pane is displayed. See Talon One Integration Templates.

  11. Click Finish. Your integration is enabled.

    In Commerce, when:

    • a catalog is published
    • customer data is updated or added

    The integration is run and the data updated in Talon One.