An online shop accepts orders. They are processed in the ERP, in the warehouse, and at the payment and shipping providers, and therefore somewhere else. E-commerce integration is the connection in between. It brings the order into the ERP as a sales order, current inventory and prices into the shop, and product data from the PIM into every channel. Three areas determine the structure.
01 Connecting the shop to ERP and SAP
The integration starts with the interfaces on both sides. Shop systems such as Shopware, Shopify, and commercetools provide HTTP APIs through which products, customers, and orders can be read and written. Depending on the system, SAP speaks IDoc, OData, or RFC. In between sits an integration layer that translates formats and controls the flows. For a payment provider operating across Europe, we connected Salesforce and SAP in this way. There, 20 Mule services translate between IDoc and JSON, mostly asynchronously through a message queue.
The shop is one system among many. Its value comes from the interplay with the others.
02 Portals, marketplaces, and further channels
Every additional channel needs the same data as the shop, that is, products, prices, and availability, and it sends orders or contract sign-ups back. If the integration is built as a reusable API layer, the next channel uses what already exists. At an energy utility, this is how the contract sign-ups from Verivox and Check24 flow directly into the core processes. For a lottery company, the mobile apps and the web shop use the same APIs. A marketplace integration follows the same pattern.
03 EDI integration and APIs working together
In the exchange with trading partners, EDI is an established path on which orders and other business documents travel from company to company as structured messages in agreed formats such as EDIFACT, transmitted over AS2 or AS4, for example. An API, by contrast, answers individual requests at the moment of the call. The two paths complement each other. At the energy utility mentioned above, the same Mule 4 layer processes the EDI market messages, with Seeburger as the B2B gateway, and exposes the integrations as REST APIs. We pay attention to three things in every setup.
- Reusable building blocks · one interface to the ERP serves shop, portal, and marketplace.
- Decoupled systems · queues separate shop and ERP and absorb load peaks.
- Documented contracts · every interface has a specification that it is tested against.