Tymoteusz Motylewski (Macopedia): A price and promotion engine in B2B e-commerce
How do you manage B2B prices without overloading your ERP? Tymoteusz Motylewski on performance, integrations and a dedicated price engine that supports omnichannel.

B2B Master Class with Tymoteusz Motylewski
Tymoteusz Motylewski, CTO and co-founder of Macopedia, talks to Tomasz Grzemski about one of the most sensitive areas of B2B platform implementations: managing a complex pricing policy. In this episode you will learn why ERP systems are not built to calculate prices in real time for e-commerce, and how a dedicated price engine solves performance problems and keeps the offer consistent across all sales channels.
Key points of the episode
- The difference in scale between B2B and B2C: B2B has fewer customers but far more products and customer price lists, which creates huge data matrices that standard platforms can’t handle.
- The ERP is the bottleneck: ERP systems calculate prices “line by line” and are not built to handle thousands of real-time requests from an e-commerce platform.
- Three approaches to pricing: you can implement prices by customizing the e-commerce platform (expensive), querying the ERP live (slow and risky) or using an external price engine (optimal).
- The price engine as a safety buffer: an external microservice (price engine) keeps the store fast even when the ERP is down for maintenance or fails.
- Omnichannel and the future: a dedicated price engine centralizes the management of promotions and prices not only for B2B but also for marketplaces, CRM and sales rep systems.
What makes B2B pricing policy different, and the limits of ERP
Pricing policy in B2B is fundamentally different from B2C. In retail you usually have a few discount groups and promotions for the mass market, while in B2B the standard is customer-specific commercial terms for every business customer, often negotiated at the level of a specific product or category. On top of that come multi-level price lists: the base (list) price, volume price lists and time-limited promotions. Stacking these rules creates complex logic in which errors are easy, such as selling below margin.
Many companies keep this knowledge in ERP systems that often date back to the early 2000s and their window-based interfaces. The problem is that legacy decisions and “manual steering” by sales reps lead to chaos in which nobody in the company knows why a given customer has that particular discount. A B2B platform implementation is the ideal moment to put this policy in order and write it down as digital rules, instead of relying on the sales team’s “tribal knowledge”.
Three strategies for integrating prices in B2B e-commerce
To move complex prices from the ERP to the B2B platform, companies usually take one of three approaches:
- Customizing the e-commerce platform: trying to reproduce the ERP logic inside Magento or Shopware. This is very expensive to maintain and risky, because off-the-shelf platforms (with exceptions such as OroCommerce) offer weak native B2B support.
- Querying the ERP in real time (live calls): the B2B platform does not store prices but asks the ERP for the price every time a cart or product list is displayed. This approach only works at small scale. For a listing of 200 products the system has to make 200 requests in a fraction of a second, which can “kill” ERP performance and block the accounting team’s work. What’s more, if the ERP stops working (for example, the connection fails), the store stops selling.
- A dedicated price engine: an external microservice that pulls data from the ERP, recalculates it and serves it to the B2B platform through a fast API. This solution combines the data security of the ERP with the speed of e-commerce.
The price engine as a solution to performance problems
Tymoteusz Motylewski points out that a dedicated price engine solves the “price matrix” problem: with 1,000 customers and 10,000 products, the system would have to process millions of records. The price engine runs as a separate application, a buffer that integrates with the ERP (often directly at the SQL database level, which is faster than building an API in an old system) and serves ready-made prices to e-commerce.
As a result, the ERP stays an “oasis of calm” responsible for accounting and finance, while dynamic calculations, promotions and heavy traffic are handled in a dedicated application. This avoids ERP customizations, which are difficult and expensive, and ensures that the B2B platform responds instantly regardless of the load on the central system.
Managing promotions and omnichannel
A price engine is not only about base price lists but also about advanced management of promotions and future prices. Trading companies often have to quote projects that will be delivered in a few months, taking into account planned supplier price increases. A dedicated tool lets you manage these processes in one place and distribute a consistent price to many channels (omnichannel).
Tymoteusz stresses that with this approach the same price goes to the B2B platform, the marketplace, the sales rep’s CRM and the mobile app. That eliminates situations where the customer sees one price in the store and the sales rep offers another. This is the key to decomposing IT systems: instead of one big ERP monolith, you build an agile ecosystem in which a specialist (best-of-breed) tool is responsible for pricing and margins.
Summary
This B2B Master Class episode shows that an effective B2B pricing policy requires moving beyond the “everything in the ERP” pattern and choosing a modern microservice architecture.
ERP systems were not designed to handle thousands of real-time price requests, and forcing them into that role leads to performance problems, outages and chaos in which nobody in the company knows why a given customer has that particular discount. A dedicated price engine solves this problem by acting as a buffer between the ERP and the sales platform and ensuring a consistent price across all channels, from the B2B store to the marketplace and the sales rep’s mobile app.
Related content
Discover proven strategies and technologies that will help you get discount chaos under control. The materials below will help you understand how to automate pricing, protect your margin and build an efficient ecosystem without overloading your ERP software.
- An external price and promotion engine for advanced B2B and B2C e-commerce platforms – Discover our own tool (the price engine). Learn how to take load off the ERP and instantly calculate customer-specific prices and multi-level discounts for millions of products in real time.
- End-to-end implementations of scalable B2B e-commerce platforms for manufacturers and distributors – See how we design sales systems from the ground up. Find out how we reproduce the most complex sales processes digitally and move negotiations online.
- Tomasz Zagdan explains how to build an effective and profitable B2B pricing strategy – Listen to a related B2B Master Class episode. The Pricing Academy expert advises how to split your portfolio logically into “traffic generators” and “margin generators” and avoid price wars between sales channels.
- B2B prices: why can’t modern e-commerce do without a pricing policy? – Read the article on our blog and deepen your knowledge. You will understand why relying only on what your sales reps know (so-called “manual steering”) is a dead end when you scale your business online.

Co-founder and CEO of Macopedia, Tomasz is an expert in e-commerce, PIM, WMS, and ERP solutions. For over 15 years, he has been shaping the e-commerce market, driving digital transformation for numerous companies and implementing innovative technological solutions. His articles provide strategic and practical insights for businesses aiming to optimize processes and achieve growth in the digital world.
More from this author →
