The Adobe Commerce (formerly Magento) integration sends your store's customers and orders to Iterable on a short schedule. Each placed order becomes an Iterable purchase, with its line items, and customer sign-ups and profile changes keep Iterable user profiles up to date. Use them for welcome journeys, order confirmations, revenue attribution, product recommendations based on past orders, and win-back campaigns, without building a custom integration.
# In this article
# How the integration works
This is a one-way sync from Adobe Commerce to Iterable. The integration only reads from your store and never changes it. It checks your store on the schedules you choose:
| Adobe Commerce activity | What Iterable records |
|---|---|
| A customer account is created or changed | Creates or updates a user profile |
| An order is placed | Records a purchase with the order's items |
Each setup connects one store to one Iterable project. To send several stores to the same project, set up the integration once for each store.
For the fields the integration sends, see Purchase and user profile fields.
# How users are matched
The Primary Identifier on the Iterable connection sets how the integration identifies users. You don't select it separately for Adobe Commerce.
| Primary Identifier | Adobe Commerce identifier | Iterable identifier | Supported Iterable project types |
|---|---|---|---|
| Customer email, or the order's email | email | Hybrid, email-based | |
| User ID | Customer ID |
userId, plus email when the customer has one* | Hybrid, userID-based |
* If another Iterable user already has the customer's email address, the integration sends the record without it.
Choose the Primary Identifier that matches how your existing Iterable users are identified:
Select User ID if your users'
userIdvalues are Adobe Commerce customer IDs, or if the project has no users yet and you want to identify all users by Adobe Commerce customer ID. The integration uses the customer ID for orders and profiles, and also sets the customer's email on the user profile so they can receive email. It skips guest orders, because they have no customer ID for matching. Not available for email-based projects.Select Email if your users are identified by
email, or byuserIdvalues that aren't Adobe Commerce customer IDs. The integration matches orders by the order's email, so it matches guest orders too, and matches customer profiles by the customer's email. It skips records with no email. Not available for userID-based projects.
To learn more about project types, read Project Types and Unique Identifiers.
# How orders are sent
The integration sends each order once. Later changes to the order, such as
invoicing, shipping, canceling, or refunding it, don't update the purchase in
Iterable, and its status stays as it was when it was sent. The integration
sends an order only if it has at least one item.
For configurable and bundle products, the integration sends only the parent product, not each of its child products, so items aren't counted twice.
# Orders awaiting payment
Some payment methods, such as redirect gateways and payments under fraud review, leave a new order in Pending Payment or Payment Review until payment completes. Track Orders Awaiting Payment sets how the integration handles these orders:
- When the setting is off, which is the default, the integration holds these orders back and sends them once they're paid. It never sends an order that's already canceled when it finds it. This keeps order confirmations from going out for orders that never complete.
- When the setting is on, the integration sends every order when it's placed,
including unpaid ones, without waiting for payment. Because it sends each
order only once, the purchase isn't updated when payment completes. Use the
statusfield in Iterable to tell paid and unpaid orders apart, for example in a journey filter.
The integration sends an order held back for payment only if it's paid within 14 days of being placed. It also sends orders that were awaiting payment when you first finished setup, and were placed in the 14 days before, once they're paid.
# Historical import
If you turn on Import Past Orders and Customers, the integration imports existing records once, after you select Finish:
- Customers last changed between your start date and when you first finished setup. The integration imports a customer created before the start date only if their account was changed after it.
- Then orders placed between your start date and when you first finished setup, using the same payment and matching rules as new orders.
The integration imports only customers and orders whose sync is turned on.
The integration starts the import once and imports records in batches in the background until all of them are in Iterable, so large stores can take a while. New orders and customers keep syncing while it runs.
The import runs only once per connection. Selecting Finish again or changing the start date afterward doesn't start another import. If you turn the import on for a connection that has never run one, it runs after you next select Finish.
Imported orders appear in Iterable as purchases with their original order date. Before you turn on the import, pause any journeys triggered by purchases, such as order confirmations, so customers aren't messaged about old orders.
# Stores with several store views
Adobe Commerce returns customers and orders from every store view the
integration can read. Each purchase and profile includes magentoStoreId, and
profiles also include magentoWebsiteId. Use these to segment or filter records
by store.
# What isn't synced
Carts, products and catalogs, invoices, shipments, refunds and credit memos, coupons, newsletter subscriptions, and customer addresses and phone numbers aren't part of this integration. Changes to an order after it's sent aren't synced. Deleting a customer or an order in Adobe Commerce doesn't delete anything in Iterable.
# Connection requirements
The integration supports both Adobe Commerce and Magento Open Source stores.
To connect Iterable with Adobe Commerce, you need:
- An Adobe Commerce store that the integration supports.
- An Adobe Commerce integration with API access to Sales and Customers, created by an Admin user who can manage integrations.
- A server-side API key for the Iterable project that receives the data.
- A field to identify the user that matches in Iterable:
- If you use email as the primary identifier, an email address on every Adobe Commerce customer and order.
- If you use user ID as the primary identifier, an Adobe Commerce customer ID that matches your Iterable user IDs.
# Supported Adobe Commerce stores
The integration supports stores that:
- Run Adobe Commerce on cloud infrastructure (PaaS), self-hosted Adobe Commerce, or Magento Open Source 2.x.
- Are served over HTTPS and are reachable from the internet.
Adobe Commerce as a Cloud Service and Magento 1 aren't supported.
# Connecting Adobe Commerce to Iterable
# Step 1: Create an integration in Adobe Commerce
In your Commerce Admin:
Go to System > Extensions > Integrations and click Add New Integration.
Enter a name, such as
Iterable, and your Admin password. Leave Callback URL and Identity link URL empty.On the API tab, set Resource Access to Custom and select Sales and Customers.
Click Save.
On the integrations list, click Activate next to the new integration, then click Allow.
-
Copy the four values shown:
- Consumer Key
- Consumer Secret
- Access Token
- Access Token Secret
Copy them before you click Done. If you click Reauthorize later, Commerce issues a new set and the old one stops working.
For more detail, see Adobe Commerce integrations.
# Step 2: Connect Adobe Commerce and Iterable in the Integrations Hub
In Iterable, go to Integrations > Integrations Hub.
Find Magento (Adobe Commerce), select Connect, and then select Add Connection.
-
On Connections, enter your store's address and the four values from your Adobe Commerce integration:
-
Store URL: Your store's base address, for example
https://shop.example.com. Don't add a trailing slash or/rest. - Consumer Key, Consumer Secret, Access Token, and Access Token Secret: The values from Step 1: Create an integration in Adobe Commerce.
Then enter your Iterable API key and set Primary Identifier to the option that matches how your Iterable users are identified. See How users are matched.
-
Store URL: Your store's base address, for example
-
On Settings, choose what to sync. All times are in UTC.
- Leave Sync Customer Profiles on to create or update an Iterable user profile when a customer account is created or changed in your store. It's on by default.
- Under Customer Check Interval, choose how often the integration looks for changed customers: Every 5 Minutes, Every 10 Minutes, Every 15 Minutes, Every 30 Minutes, Every Hour, Every 4 Hours, or Every 24 Hours. The default is Every 15 Minutes.
- Leave Send Orders as Purchases on to send each placed order to Iterable as a purchase, with its items. It's on by default.
- Under Order Check Interval, choose how often the integration looks for new orders: Every 5 Minutes, Every 10 Minutes, Every 15 Minutes, Every 30 Minutes, or Every Hour. The default is Every 10 Minutes. This sets how quickly an order confirmation can go out.
- Choose whether to turn on Track Orders Awaiting Payment. It's off by default. See Orders awaiting payment.
- Choose whether to turn on Import Past Orders and Customers to import existing records one time. It's off by default. See Historical import.
- If you turn on the import, enter the earliest date to import from in Import Records Created On or After.
On Review, check the summary of your settings, and then select Finish. If a setting needs fixing, Review lists the problem and you can't finish until it's resolved. See Finishing setup is blocked by a settings problem.
Syncing starts when you first select Finish. The integration sends records from before then only if you turn on the historical import.
# Step 3: Confirm data is syncing
- Place a test order in your store, signed in as a customer with an email address you can find in Iterable. The integration sends an order paid with a method such as Check / Money order when it's placed. With a gateway that leaves the order in Pending Payment, finish the payment first.
- Wait for your Order Check Interval, then open that user in Iterable and confirm the purchase appears on their profile, with the order's items.
- If Sync Customer Profiles is on, register a new customer account in your store, wait for your Customer Check Interval, and confirm a profile with their name appears in Iterable.
# Purchase and user profile fields
The integration sends the following fields to Iterable. Fields that are empty in Adobe Commerce are left out, so they never clear values already on the Iterable user profile.
# Purchases
The integration sends each placed order to Iterable as a purchase, the same
record the Iterable
trackPurchase API
creates. The purchase's date is when the order was placed, and its total is the
order's grand total.
Each purchase has the following fields:
| Field | Type | Source in Adobe Commerce |
|---|---|---|
createdAt | date | When the order was placed |
currency | string | Order currency, such as USD
|
id | string |
magento-order- followed by the order's internal ID. This keeps each order to one purchase in Iterable. |
items | array | One entry per product ordered. See the next table. |
magentoOrderId | string | Internal order ID |
magentoStoreId | string | ID of the store view the order was placed in |
orderId | string | Order number, as shown in the Commerce Admin (for example 000000123) |
status | string | Order status when the order was sent, such as processing or pending
|
total | number | Order grand total |
Each item in a purchase has the following fields:
| Field | Type | Source in Adobe Commerce |
|---|---|---|
id* | string | Product SKU, or the product ID if there's no SKU |
name | string | Product name |
price | number | Unit price |
qtyOrdered | number | Exact quantity ordered, which can be a decimal for products sold by weight |
quantity | number | Quantity ordered, rounded to a whole number (at least 1) |
sku | string | Product SKU |
* Using the SKU as the item ID groups purchases of the same product together.
Iterable sets a field's type from the first value it receives. To cast an
item's price as a double, the first call that includes it should contain a
non-zero decimal value, such as 5.55. Otherwise, Iterable casts it as a long.
To learn more, see
API Endpoints and Sample Payloads.
# User profiles
When a customer account is created or updated in your store, the integration creates or updates the matching Iterable user profile with the following fields:
| Field | Type | Source in Adobe Commerce |
|---|---|---|
email* | string | Customer email |
firstName | string | First name |
lastName | string | Last name |
magentoCreatedAt | date | When the customer account was created |
magentoCustomerId | string | Customer ID |
magentoStoreId | string | ID of the store view the account was created in |
magentoWebsiteId | string | ID of the website the account belongs to |
userId* | string | Customer ID |
Notes:
-
email: Identifies the user when you use email as the primary identifier. When you use user ID as the primary identifier, the integration also sets it on the user profile. See How users are matched. -
userId: The integration sets it only when you use user ID as the primary identifier.
# Changing sync settings
- In Iterable, go to Integrations > Integrations Hub and open the Magento (Adobe Commerce) page.
- Open the connection's menu and select Open Configuration.
- On Settings, update your choices.
- On Review, select Finish.
New choices apply from then on. They don't resend or remove data already in Iterable.
# Changing your Adobe Commerce credentials
If you reauthorize the integration in Adobe Commerce, or create a new one, update the connection with the four new values. Syncing pauses until you do, then picks up where it left off.
- In Iterable, go to Integrations > Integrations Hub and open the Magento (Adobe Commerce) page.
- Open the connection's menu and select Open Configuration.
- On Connections, replace the Consumer Key, Consumer Secret, Access Token, and Access Token Secret with the new values.
- On Review, select Finish.
# Deleting the integration
- In Iterable, go to Integrations > Integrations Hub and open the Magento (Adobe Commerce) page.
- Open the connection's menu and select Delete Connection.
- Type
DELETE, and then select Delete Connection.
Deleting the connection stops the sync. Data already sent to Iterable isn't
changed. You can then delete the Iterable integration under
System > Extensions > Integrations in the Commerce Admin.
# Troubleshooting
# Finishing setup is blocked by a settings problem
Review lists the problem and you can't finish until it's resolved. It blocks setup if:
- Sync Customer Profiles and Send Orders as Purchases are both off.
- Import Past Orders and Customers is on, but no start date is set.
- The import start date is in the future.
# An order doesn't appear in Iterable
Check whether the integration skipped the order:
- The order is awaiting payment and Track Orders Awaiting Payment is off. The integration sends it once it's paid. See Orders awaiting payment.
- The order is a guest order and you use user ID as the primary identifier. See How users are matched.
- The order was placed before you first finished setup and the historical import is off. See Historical import.
# Syncing stops after the credentials change
If you reauthorize the integration in Adobe Commerce, Commerce issues new credentials and the old ones stop working. Update the connection with the new values to resume. See Changing your Adobe Commerce credentials.