Commercetools
Commercetools is a cloud-native, headless commerce platform used by mid-market and enterprise brands to manage their product catalog, orders, customers, and payments. It provides a flexible API-first approach to building commerce experiences across any channel.
Connecting Commercetools to Coupler.io lets you pull your store data into spreadsheets, BI tools, or AI assistants — without writing a single line of code.
Why connect Commercetools to Coupler.io?
Sync orders, customers, products, payments, and discount codes into Google Sheets, Excel, BigQuery, Looker Studio, or AI destinations like ChatGPT, Claude, or Gemini
Combine multiple entities — for example, join orders with payments to track revenue and fulfillment in one view
Schedule automatic refreshes so your reports always reflect the latest store data
Append data from multiple Commercetools projects into a single destination for consolidated reporting
Prerequisites
Before connecting, make sure you have:
A Commercetools account with at least one active project
A Client ID, Client Secret, Project Key, and Region for your project — these come from an API client you create in the Commercetools Merchant Center
The API client must have read scopes for the entities you want to export (e.g.,
view_orders,view_customers,view_products)
Quick start
Create a new data flow in Coupler.io and select Commercetools as the source.
Enter your API credentials. You'll need your Client ID, Client Secret, Project Key, and Region. These are available on the API client detail page in the Merchant Center.
Select the entity you want to export — Customers, Orders, Products, Payments, or Discount codes.
Set a start date using the date picker to control how far back Coupler.io pulls data.
Choose your destination — Google Sheets, Excel, BigQuery, Looker Studio, or an AI destination such as Claude, ChatGPT, or Gemini.
Run the data flow manually to confirm everything is connected and data is loading correctly.
Available entities
Customers
Contact details, preferences, and account data
Orders
Line items, pricing, shipping, and fulfillment status
Payments
Transactions, payment methods, and processing status
Products
Catalog data including descriptions, pricing, and inventory
Discount codes
Promotional codes, discount rules, usage counts, and validity periods
Commercetools data overview
Commercetools exposes five entities through Coupler.io, covering the core of your commerce operations — from catalog management to transactional data.
Entities
Customers
Account info, contact details, addresses, and customer group membership
Orders
Order lifecycle data including line items, totals, shipping, and state
Payments
Payment records linked to orders, including method and transaction status
Products
Full catalog data — variants, pricing, attributes, categories, and stock
Discount codes
Code strings, associated cart discounts, usage limits, and active periods
Available fields
Customers
id
Unique customer identifier
email
Customer email address
firstName / lastName
Customer name
customerGroup
Group the customer belongs to (e.g., B2B, VIP)
addresses
Billing and shipping address records
createdAt
Account creation timestamp
lastModifiedAt
Last update timestamp
isEmailVerified
Whether the email has been verified
Orders
id
Unique order identifier
orderNumber
Human-readable order number
customerId
Reference to the placing customer
lineItems
Array of purchased items with quantities and prices
totalPrice
Order total including currency
orderState
Current state (Open, Confirmed, Complete, Cancelled)
shipmentState
Shipping status (Pending, Shipped, Delivered, etc.)
paymentState
Payment status (Pending, Paid, Failed, etc.)
createdAt
Order creation timestamp
Payments
id
Unique payment identifier
amountPlanned
Intended payment amount and currency
paymentMethodInfo
Payment method name and payment interface
transactions
Individual transaction records with type and state
paymentStatus
Overall status of the payment
createdAt
Payment creation timestamp
Products
id
Unique product identifier
key
User-defined product key
masterData.current.name
Localized product name
masterData.current.slug
URL slug
masterData.current.masterVariant
Master variant including SKU, price, and attributes
masterData.current.variants
Additional variants
masterData.current.categories
Category references
productType
Reference to the product type schema
Discount codes
id
Unique discount code identifier
code
The actual discount code string
cartDiscounts
Associated cart discount rules
isActive
Whether the code is currently active
maxApplications
Maximum number of times the code can be used
applicationCount
How many times the code has been applied
validFrom / validUntil
Validity window for the code
Common field combinations
Revenue reporting: Join
orders(totalPrice,orderState) withpayments(paymentStatus,amountPlanned) using the order ID to reconcile confirmed revenueCatalog performance: Combine
productswithordersline items to see which SKUs are sellingPromotion analysis: Join
discount_codes(code,applicationCount,maxApplications) withordersto measure promo impact on order valueCustomer segmentation: Use
customerswithcustomerGroupand join toordersto compare spend across B2B vs. B2C segments
Use cases by role
Track order state distribution (Open vs. Complete vs. Cancelled) in a live Google Sheets dashboard
Monitor fulfillment bottlenecks by filtering orders where
shipmentStateis PendingUse Aggregate transformation to calculate average order value by customer group
Analyze discount code redemption rates and compare against order volume during campaign periods
Segment customers by
customerGroupto build targeted re-engagement listsFeed product catalog data into ChatGPT or Claude to generate automated product descriptions
Reconcile
paymentstransaction data againstorderstotals in BigQueryReport on failed or pending payment states to identify revenue at risk
Use Append transformation to consolidate orders from multiple Commercetools projects into a single dataset
Platform-specific notes
Commercetools returns nested JSON objects (e.g.,
lineItems,transactions,variants) — Coupler.io flattens these for spreadsheet destinations, but you may need to parse them in BigQueryLocalized fields (like product names and slugs) are returned as objects with locale keys — check which locale your project uses
The
start_datefilter applies tocreatedAtfor most entities — historical data before that date won't be includedCommercetools uses its own regional API endpoints — make sure the region you enter in Coupler.io matches your project's region exactly
Commercetools common issues
Connection issues
Missing data
Permission errors
Data discrepancies
Rate limits
Commercetools FAQ
Last updated
Was this helpful?
