Commerce platform built on modern MACH principles

Go to site

commercetools API Integrations

Build and run workflows using the commercetools API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    commercetools: {
      type: "app",
      app: "commercetools",
  async run({steps, $}) {
    return await axios($, {
      url: `${this.commercetools.$auth.api_host}${this.commercetools.$auth.projectKey}/stores`,
      headers: {
        Authorization: `Bearer ${this.commercetools.$auth.oauth_access_token}`,


commercetools uses OAuth authentication. When you connect your commercetools account, Pipedream will open a popup window where you can sign into commercetools and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any commercetools API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. accessToken
    POST{{custom_fields.auth_host}}oauth/{{custom_fields.projectKey}}/anonymous/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
  2. refreshToken
    POST{{custom_fields.auth_host}}oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json