Skip to main content

commercetools

This connector captures data from commercetools into Estuary collections.

Supported data resources

The following data resources are supported:

ResourceReplication Mode
ordersIncremental
customersIncremental
paymentsIncremental

By default, each resource is mapped to an Estuary collection through a separate binding.

Prerequisites

To set up the commercetools source connector, you'll need:

  • Your commercetools Project key, and the region hosting that Project. Both are visible in the Merchant Center under Settings > Developer settings, in the API URL shown for your Project.
  • A commercetools API Client created in the Merchant Center under Settings > Developer settings > Create new API client, with the following scopes:
    • view_orders
    • view_customers
    • view_payments Note the client ID and secret when the client is created.

Configuration

You configure connectors either in the Estuary web app, or by directly editing the catalog specification file. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the commercetools source connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/regionRegionThe region hosting your commercetools Project. One of us-central1.gcp, us-east-2.aws, europe-west1.gcp, eu-central-1.aws, or australia-southeast1.gcp.stringRequired
/project_keyProject KeyThe key of your commercetools Project.stringRequired
/credentials/client_idClient IDThe API Client's client ID.stringRequired
/credentials/client_secretClient SecretThe API Client's client secret.stringRequired
/credentials/credentials_titleAuthentication MethodName of the credentials set. Set to OAuth Credentials.stringRequired
/start_dateStart DateUTC date and time in the format YYYY-MM-DDTHH:MM:SSZ. Any data modified before this date will not be replicated. If left blank, all available data will be captured.string

Bindings

PropertyTitleDescriptionTypeRequired/Default
/nameData resourceName of the data resource.stringRequired
/intervalIntervalInterval between data syncs.stringPT5M

Sample

captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-commercetools:v1
config:
region: us-central1.gcp
project_key: my-project
credentials:
credentials_title: OAuth Credentials
client_id: <secret>
client_secret: <secret>
start_date: 2026-08-10T00:00:00Z
bindings:
- resource:
name: orders
target: ${PREFIX}/orders
- resource:
name: customers
target: ${PREFIX}/customers
- resource:
name: payments
target: ${PREFIX}/payments