Architecture for commerce
Headless commerce vs your current platform: which should your store choose?
In headless commerce vs your current platform, stay on the platform you have if it can carry your buying journey. Split off the storefront only for a constraint you have proven, and test the whole order lifecycle before you commit to a migration.
Talk through your commerce decisionShort answer
With headless commerce, the storefront is split from the commerce backend, and the current platform and checkout can stay in place. Go for it when a customer or channel requirement you have tested is worth more than the extra frontend and integration work.
Best for
- Retail teams weighing a better theme against a separate storefront and against a new commerce backend.
- Buyers who want a workable pilot and acceptance criteria before they sign off a migration.
Not covered here
- Any promise that headless lifts conversion, speed or search rankings on its own.
- Ranking platforms, or giving a fixed-price quote without your real requirements.
Three routes compared
Treat these as choices of architecture rather than product tiers. What is possible depends on the platform, plan and implementation you pick.
A contained limit in the theme, an app or an integration.
A proven need on the storefront or across several channels.
Commerce rules that the current backend cannot sensibly handle.
The current frontend and commerce core.
The commerce core, and possibly the hosted checkout.
Just the components the migration plan explicitly keeps.
The components that change, and their interfaces.
Frontend releases, previews, sessions, analytics and the API integration.
Moving the data, operating workflows and integrations around the new core.
A targeted change makes the broken journey work.
The separate frontend gets through purchase and recovery scenarios.
Orders, money and stock tie out across the systems proposed.
The workflow you need still cannot be built.
The gain is only cosmetic and nobody owns operations.
A smaller change removes the constraint with no migration.
How Devoun sees it
Split the choice into three decisions before you compare platforms
Buying a new storefront, a new checkout or a new commerce backend are three separate purchases. You can stay on Shopify and still swap its theme for a separate frontend. The cart documentation for Shopify’s Storefront API describes a checkout URL that hands the buyer over to Shopify checkout. A custom frontend, then, does not give you free control over every step of checkout. Before the architecture is approved, check the extension points you need against the plan and integration you have chosen.
Shopify only opens the extension points for the information, shipping and payment steps on Shopify Plus. If the reason for changing the frontend is an address rule or a delivery option, ask the implementation team to demonstrate that behavior in checkout on the exact plan you intend to buy. See the documentation for Shopify checkout UI extensions.
That split is what headless means. Composable commerce means building capabilities out of components; it does not oblige you to put every function in a separate product. Start by writing the problem down as a constraint you can observe: the configurator cannot represent the options you need, two channels need one catalog presented differently, or the content workflow cannot publish the buying journey you intend. Saying “the shop feels old” is a design brief; it is not enough evidence to replace a backend.
Editorial workflow and content reuse are handled in the guide to choosing a headless CMS. Here the subject is orders, payments and who is responsible for operations. When those constraints need turning into an implementation scope, use e-commerce development.
Weigh the whole operating workload
Ask every proposal to break out discovery, storefront work, commerce configuration, data migration, integrations, testing and cutover as separate items. After that, list the recurring platform and app fees, frontend hosting, monitoring, upgrades, incident response and support for editors. Keep payment-provider fees and your own operating effort in view. No universal percentage saving for headless can be defended, because the very freedom on the frontend can also leave you with another system to look after.
Say who owns catalog attributes, sellable stock, prices, orders, payments and refunds; each record may have a different owner. On stock, tell physical inventory apart from the quantity available to sell and from reservations. Decide when the storefront has to stop selling a variant if the authoritative feed goes stale. A quicker page will not fix a stock rule that has no owner.
Every integration needs someone responsible for upgrades. When a request asks for an API version Shopify has retired, Shopify may answer it with the oldest stable version still available, so a response that looks fine can hide a change of version. During the pilot, log the version requested and the version returned, run typical cart and order data against the next version, and put a review date in the calendar before retirement. See API versioning at Shopify.
Run a pilot on one real order journey
Here is an example pilot, not a result from a client. A merchant keeps the commerce backend it has today and builds a separate storefront for a single product family. The agreed journey covers picking a variant, a discount, a delivery choice, payment, export to the warehouse, a shipping notification and a partial refund. Put the same journey through the current store too, so both sides are compared on the same rules and data.
Test on typical mobile devices and slower connections, not just on a developer’s laptop. Note the test environment, the platform and API versions, the product fixtures, the expected and actual results and where the evidence is stored. Add a variant that is out of stock, a discount that has expired, a declined payment, a browser session that gets cut off and an address that changes whether delivery is possible. Agree which failures stop the launch and which can go into a follow-up backlog with dates. Base performance and availability targets on today’s baseline and what the business needs, not on some arbitrary industry figure.
Check how the team updates a price, previews content and processes a return with no developer involved. If the customer journey works but staff cannot use their side of it, the pilot has not succeeded. Keep consent behaving as it does now, and confirm that analytics does not record one purchase twice between the storefront and checkout.
Make repeated and missing events harmless
Signature verification and checks for duplicate delivery are both covered in the Shopify documentation on verifying webhooks. They solve different problems: a genuine message that arrives a second time must not trigger a second fulfillment or refund. Store a lasting record that connects the order, the payment transaction and the downstream operation, and make retries safe at the level of the business operation.
As an example reconciliation exercise, place ten test orders, each with a single successful payment capture, and fully refund one of them. The correct record shows ten captured orders and one full refund, not nine orders. Match commerce records against provider transactions and warehouse exports by stable identifier, currency and amount. If the order export fails after the payment has gone through, the next step is to recover fulfillment or resolve the order, never to charge the buyer a second time. Hand unexpected differences to a named operator as exceptions instead of quietly forcing the totals to agree.
On purpose, send one event twice, hold another one back and process an update late. Confirm that the duplicate has no second business effect, that reconciliation finds the missing work and that the late event cannot replace a newer valid state. How often reconciliation runs and when issues escalate are part of the agreed scope. Treat these as suggested acceptance tests, not as statements about what every platform does by default.
The Medusa documentation on events and subscribers separates asynchronous follow-up actions from the steps that are part of the commerce flow itself. Use the same separation when you review any component design: an order validation that is required must not be handled like an optional notification that is allowed to fail once the order is complete. We checked these sources on 11 November 2026.
Practice a rollback that keeps every order
Begin with a limited storefront rollout only when the old and new paths can both use the intended backend safely. Name who decides to switch back, and test the old path while the pilot runs. Keep carts where that is supported, hold on to important URLs and check redirects, canonicals, language routes and the return links from checkout. Rolling back frontend code will not reverse a payment that has already been captured.
Migrating the backend calls for its own cutover plan. Write down which system is allowed to take new orders, the checkpoint for transferring data, the final stock position and how orders placed around cutover will get to fulfillment. Do not let two independent writers change the same order or inventory record. Never promise an instant rollback once irreversible data changes have happened; test whether recovery needs a correction going forward, a reconciliation of exports or a controlled pause in taking orders.
Let the pilot decide, then pay for the smallest change that works
Pick an improvement to the current store if it gets the required journey through with less operating burden. Pick a separate storefront if it removes the constraint you measured and the team is willing to take on the extra ownership. Only replace the backend if its commerce limits are still there after realistic extension options have been tried.
Our Shopify-to-Odoo and Nice One projects show automation of Shopify workflows and work on commerce backends. Neither documents a headless migration or proves a conversion uplift for your store. Bring the journey that failed, your list of systems and the pilot findings to a conversation about commerce scope; they will help far more than a favorite architecture label.
Common mistakes
- A new frontend gets bought to fix a problem that sits in warehouse data. Start by mapping the record that fails and who owns it.
- The pilot stops once payment succeeds. Extend it to fulfillment, partial refunds and recovering missing events.
- Rolling back is taken to mean putting the old theme live again. Orders and money from the pilot period still have to be reconciled.
Checklist before you approve a build
Add these answers to the proposal before any build is approved.
Check each item when it is done. This list saves nothing and sends nothing.
Related work from our projects
Our Shopify-to-Odoo integration and the Nice One commerce backend demonstrate automated Shopify workflows and commerce services at high volume. They are related evidence only; neither is a headless migration case, and neither promises a result for another merchant.
Shopify orders flow into Odoo sales, BOMs and manufacturing, no re-typing.
4M+ customers: we built the promotions, wallet, order and vendor services.
A small sample of the work, not all of it: over 300 products shipped in more than 14 years of engineering.