Maco B2B for the IT team
This page is for the person who will run and integrate the platform. Where the data flows from, what Maconnector does, what Mage-OS ships and what we add, and what stays on the client’s side once the rollout ends.
Architecture
The store presents the data, the ERP stays its owner
A wholesale customer also places orders outside the store: by phone, by e-mail, with a sales rep. So the credit balance, invoices, unit conversions and order minimums have their owner in the accounting system, and the store keeps a reflection of them. Data arrives as a state, not an increment, and is written by natural key: tax ID, code, invoice number. A repeated message from the middleware does not duplicate a record.
All the logic sits in services, and the store controller and the REST endpoint call the same service, so the interface and the API do not drift apart in behaviour. Permissions are checked on the server: a customer endpoint returns only the data of their company, and swapping an identifier in the address exposes nobody else’s data. The whole storefront is on Hyvä, with no Luma, RequireJS or Knockout.
Every entity, every attribute added to a native entity, every user action and all data arriving from the ERP has its REST endpoint. We add GraphQL where it is genuinely needed, for example under a headless storefront.
How data moves in a rollout
- ERP
- Maconnector
- Maco B2B on Mage-OS
- Hyvä storefront
Maconnector runs the exchange both ways: products, stock, prices, customers, discounts, orders, statuses and invoices. It has its own panel, monitoring and retries for failed messages, so a failed sync is an event somebody can look at rather than silence.
Integrations
The systems we connect the platform to most often
The exchange is run by Maconnector, our middleware. Product data can also arrive from a PIM system where the client uses one.
- Comarch ERP XL
- Comarch ERP Optima
- Enova365
- SAP S/4HANA
- Microsoft Dynamics 365
- Baselinker
- Akeneo PIM
- Pimcore
What we do not build
The platform ships these, we configure them
Every one of these is in Mage-OS straight after installation, and the payment gateways and carrier modules go in as official extensions. On the product page the X-ray shows them as Magento.
- Customer groups
- Tier prices
- Tax rules and net prices
- Promotion rules
- OpenSearch
- Multistore and currencies
- Payment gateways
- Carrier modules
Weighing this against OroCommerce, which carries its B2B features in the core? That is the other road we take on new B2B rollouts, and we are a Silver Solution Partner on it.
OroCommerceChoosing a model
Closed SaaS or a platform on open source
Both roads deliver B2B features. The difference is what stays on the client’s side once the rollout ends.
A closed SaaS platform
- the code belongs to the vendor, and migrating out can be impossible
- the feature scope ends where the vendor’s plan ends
- the subscription grows with the store’s turnover
- one support desk and one supplier of changes
- only the integrations in the vendor’s catalogue
Maco B2B on Mage-OS
- the code stays with the client, under an open source licence
- every feature can be extended or replaced with your own
- the Maco B2B licence is included in the rollout price
- the team is replaceable: underneath it is standard Magento 2
- REST API on every entity, attribute and action
- ERP integration through Maconnector, with monitoring and retries
Complementary products
What comes alongside the platform
Two products sit outside Maco B2B and come in when the scale calls for them. The price engine takes over pricing policy once it stops being a simple price list: rule hierarchies, customer and product-group matrices across hundreds of thousands of rules, margin monitoring in real time. Maco B2B has one entry point for reading a price, and an external source calculates it, so swapping the engine for the client’s own API does not touch the store.
Maconnector is the middleware for exchanging data with the ERP and in practice accompanies every B2B rollout. If you are still weighing up the platform itself, start with the overview of B2B platforms, and if the technology is what interests you, with the Magento page.
We will walk through the architecture on your ERP, not on a diagram
An hour with the person who will integrate it: which data the ERP has to supply, what a Maconnector message looks like and what the REST API answers.