Skip to main content

Commercetools Installation Instructions

Install the Commercetools integration to iPaaS.com

Updated this week

Commercetools Installation Instructions

Before You Begin

Before you begin, you will need to obtain authentication information from Commercetools.

Steps to Obtain Client ID and Client Secret for Commerce Tool OAuth 2.0:

  1. Log in to your Commercetools account.

  2. Choose your project.

  3. On the Developer settings page, choose the API clients tab.

  4. Click Create new API client.

  5. On the New API client page, enter a Name.

  6. Select the Scopes for the API client.

  7. When you are satisfied with your selections, click Create API client.
    ​Commercetools displays the API Client Details page.

  8. You can copy each credential or choose a format at the bottom of the page for your development environment. You will need the following API credentials:

    • client_id

    • client_secret

    • project_key

    • scopes

    • api_url

    • auth_url

You will use these credentials when setting up your subscription.

Using Credentials in iPaaS Subscription Settings

When running any flow using manual sync, the client_id and client_secret are exchanged for an access token from the auth_url. That access token is then used to call Commercetools APIs via the api_url.

Installation Instructions for Integration Setup

  1. Go to Subscriptions, click Search Certified Integration Marketplace.

  2. Click the Commercetools integration tile.

  3. Click the Subscribe button.
    Enter the Name of the subscription and select a Version. It can be set to any relevant and unique subscription name within the company where this subscription is created.

    • Format: [Product Name] - [Environment/Purpose]

    • Example: Commercetools – Production

  4. Select Create Default Mappings (recommended). If you don’t want to create default mappings and want to create all mappings from scratch by yourself, then uncheck this box.

  5. Enter the following credentials retrieved from Commercetools:

    • API URL

    • API KEY

    • CLIENT_ID

    • CLIENT_SECRET

    • SCOPE

  6. Enter the API Throttle Limit. This setting prevents any single integration or user from overwhelming the system with too many requests. It protects system performance by controlling the number of API requests that can run simultaneously, ensuring fair usage.

    • Recommended Values

      • Initial Setup: 5

      • Ongoing Operations: 500

      • High Volume: 500

  7. Enter the API Throttle Seconds. This defines the time window during which the API Throttle Limit is measured. If an integration makes too many requests within this time window, additional requests are rejected until the window resets.

    • Default Value: 60 seconds

    • Range: 60 seconds

  8. Enter the number of Concurrent Connections. This specifies the maximum number of simultaneous API connections that Avalara Exemption Certificate Management can process for a user or integration. If this limit is exceeded, new requests are queued or rejected until a currently active connection finishes.

    • Default Value: 5

    • Range: 10

  9. Enter the number of Concurrent Batch Executions. This specifies the maximum number of simultaneous batch executions that can be processed by an integration at any given time. If this limit is exceeded, new requests are queued or rejected until a currently active connection finishes.

    • Default Value: 5

    • Range: 10

  10. Click Apply to save your subscription settings.

Post-Installation Verification

After completing the installation, perform these tests to verify the installation.

Data Sync Test

  1. Initiate a sample data pull. (To iPaaS.com)

  2. Initiate a sample data push. (From iPaaS.com)

Functionality Test

  1. Run an end-to-end business process.

  2. Validate key features like field mappings, workflow triggers, and logging.

  3. Review integration logs in iPaaS.com.

Common Issues and Solutions

  1. Invalid API Domain

    • Issue: Using the wrong API region/domain (e.g., defaulting to api.commercetools.com).

    • Solution: Use the region-specific API URL provided in your Commercetools project settings.

      Examples:

      • https://api.us-central1.gcp.commercetools.com (US)

      • https://api.eu-central-1.aws.commercetools.com (EU)

  1. Authentication Failures

    • Issue: Requests return 401 Unauthorized or invalid_client.

    • Solution: Ensure you’re using the correct Client ID and Client Secret from the Commercetools Merchant Center > API Clients.

      • Always fetch a valid OAuth 2.0 access token from the Auth URL before making API requests.

      • Refresh tokens before they expire, or request new tokens as needed.

  2. Insufficient Permissions (Scopes)

    • Issue: API calls fail due to missing permissions (e.g., cannot create/update products or orders).

    • Solution: Verify that your API Client in Merchant Center is configured with the required scopes.

    • Example scopes:

      • manage_products: Create/update product data.

      • manage_orders: Manage order data.

      • view_customers: Read customer data.

  3. Invalid or Missing IDs

    • Issue: Requests fail because product, category, or customer IDs don’t exist.

    • Solution: Always fetch valid IDs via GET endpoints before referencing them in POST, PUT, or DELETE.

    • Example: Use /products to retrieve a product ID before updating it.

  4. Incorrect Data Format

    • Issue: Payload rejected due to invalid data formats (e.g., price, dates, attributes).

    • Solution: Use ISO 8601 format for dates.

      Provide numbers (price, quantity) as valid integers or decimals.

      Validate request body against the Commercetools API schema.

Support and Troubleshooting

Click the Help button on any iPaaS.com page to contact Support or to search our documentation.

  • Documentation: Search our documentation at the top of this article

  • Support Portal: Click the Help and Support button at the lower-right of this window.

  • Contact Information: Contact iPaaS.com.

Did this answer your question?