Architecture & Tech Stack11 minute read
Integrating (Not Replacing) a Custom OMS and WMS With Shopify
Published Last updated
There’s a reflex on a replatform to treat everything custom as debt to be cleared. The old stack was built in-house, the migration is the chance to modernize, so the plan becomes: replace it all with the platform’s native capabilities and best-in-class apps. Most of the time that reflex is right. Some of the time it will quietly destroy the thing that made the business work.
The systems worth keeping are the ones that encode how your business actually runs — a warehouse process built around your specific operation, an order model shaped by how you actually sell, a calculation tuned to something real about your products. Those aren’t debt. They’re the reason the last stack got built in the first place, and rebuilding them from scratch on a new platform is how a modernization project ends up a step backward.
The skill isn’t preserving everything or replacing everything. It’s telling the two apart, keeping the first, and integrating it cleanly enough that the rest of the stack doesn’t know it’s custom. This is what that looks like in practice.
The distinction that decides everything: commodity vs. differentiating
Every system in a stack sits somewhere on a line between commodity and differentiating. A commodity system does a job the market has solved well and identically for everyone — subscriptions, transactional email, search, reviews, customer service. There’s no advantage in owning that code, and real cost in maintaining it: every custom line is yours to patch, monitor, and carry through the next migration. Commodity systems should be bought or moved to native platform features, full stop.
A differentiating system does something specific to how your business operates that the market hasn’t solved for you, because it couldn’t — it doesn’t know your operation. A shipping calculation tuned to perishable transit times. An order model that fans one order out to dozens of recipients at dozens of addresses. A warehouse and order management stack built around how you actually fulfill. Rebuilding those on native features means either losing the capability or reverse-engineering years of accumulated logic into a platform that wasn’t shaped for it. Keeping them, and integrating them, is usually cheaper and always safer.
The trap is that on a stack you built and maintain yourself, everything is custom, so everything looks like debt. The catalog logic, the checkout, the subscriptions, the search — all of it was written in-house, which makes it easy to conclude that all of it should be replaced. But “it’s custom” and “it’s differentiating” are different facts.
Most of what a homegrown or composable stack does is commodity work the business had to build itself because there was no alternative at the time; that part should go native. A small core is genuinely differentiating; that part should be kept and integrated. Sorting one from the other, system by system, is the whole job — and it’s the same buy-versus-build judgment covered in the middleware guide, applied to systems you already own.
What “keep it” actually requires
Deciding to keep a custom OMS or WMS is not the same as leaving it alone. An integration to a system you’re keeping has to be as disciplined as one to a system you bought, and in some ways more, because there’s no vendor to hold to a contract — the contract is entirely yours to write and enforce.
Three things make it work.
- A data contract at the boundary. For every field that crosses between Shopify and the custom system: which side owns it, what happens on conflict, how often it syncs, and what delay is acceptable. A custom OMS that owns allocation and a Shopify store that owns the order have to agree, in writing, on who may change what and when.
- Integration built to the system’s own guidelines rather than around them. Working from how the custom system actually behaves, with its real constraints, instead of an idealized version of it.
- End-to-end testing across the whole order chain before launch, including the custom system and any third parties downstream of it — because the seams between a kept system and everything new around it are exactly where the untested edge cases hide.
Get those right and the custom system becomes invisible in the best sense: the rest of the stack treats it as just another well-behaved boundary, and the business keeps the capability it was built to provide. Get them wrong and you have the worst of both worlds — a custom system you’re still maintaining and an integration you can’t trust.
The Nuts.com pattern
Nuts.com sells nuts, dried fruit, snacks and pantry staples to homes and offices, on subscription and one-time, in standard bags and in custom-built trays assembled to a customer’s specification. Underneath, it had been composable for nine years on a commercetools-based architecture with a custom frontend and a constellation of custom services around it. At the time that was the ambitious choice. By the time Anatta arrived it had become an inheritance: almost none of the team that selected it was still at the company, roughly 80% of the platform ran on code Nuts.com owned and maintained, and marketing couldn’t change a page without an engineering ticket.
The strategic question was the one every brand on a stack like that eventually faces — can a templated commercial platform actually handle this? — and the answer had to be specific, because a migration that simplified the technology but broke the way customers actually shop would have been a step backward.
What was genuinely differentiating
Five custom product builders — trays, build-your-own box, custom trail mix, custom snack box, gift drop — each let a customer assemble something that isn’t a SKU until they create it. The tray builder lets a customer choose specific nuts and mixes and determine their placement, with pricing recalculating against selection and weight. Gift drop has the purchaser pay upfront, then emails the recipient to choose. A multi-ship checkout routinely fans one corporate gifting order out to many recipients at many addresses, each line item carrying its own address and shipping method.
A custom shipping calculator was tuned to twenty years of Nuts.com’s own shipping logic. And a twenty-year-old custom WMS, alongside a custom OMS, ran fulfillment the way Nuts.com actually operates. None of that is commodity. All of it was explicitly out of scope for replacement.
What was custom only by history
Almost everything else was replaced with something bought or native, and this is where the counterintuitive result comes from. Search and product discovery moved to Algolia, across a catalog where filtering by roast, salt level, diet, and packaging is how customers actually shop. Customer service moved to Gladly, lifecycle messaging to Braze, personalization to Dynamic Yield. Discounts and cart transformation moved onto Shopify Functions and operational automation onto Shopify Flow — native, no middleware at all.
Subscriptions were the third try: Nuts.com had run Ordergroove and disliked it, Anatta evaluated Recharge, Awtomic and Skio, and Skio won, shipping with a white-glove implementation in which Skio’s own engineers matched the portal to Nuts.com’s design. The five builders were rebuilt on Shopify rather than carried over as-is — the tray builder rearchitected away from a variant model onto product metafields with one-ounce equivalents driving the pricing math, because the variant approach would have multiplied inventory complexity five to seven times.
How the kept systems were integrated
The kept systems were integrated, not left in place untouched. The custom WMS, OMS and shipping calculator all stayed, with the calculator bridged into Shopify checkout rather than rewritten so twenty years of shipping logic remained authoritative. The bulk order uploader — an unglamorous internal tool that replaced a phone-and-email B2B ordering process — was built so the customer-service team could place large orders from a CSV with per-line-item addresses.
Subscription data was the delicate one: Shopify’s Professional Services team handled the payment-token migration, the highest-risk data movement in the programme, because a failed token migration means a subscriber’s next charge silently fails. And go-live ran against explicit go/no-go criteria with a phased traffic ramp rather than a hard cutover — a kept system is exactly the kind of seam you want to ramp onto rather than switch.
Explore the Nuts.com success story →
The pattern isn’t unique to Nuts.com. Factor, part of HelloFresh, runs a large, well-built custom OMS across its consumer and B2B channels, and it was integrated with Shopify rather than replaced. There the defining constraint was time: meal-kit fulfillment runs against a hard production cutoff, and an order that misses its window can’t be made that cycle, so the integration had to guarantee every order reached the OMS in time and landed without error. Same judgment, different pressure — keep the system that encodes how the business runs, and build the integration to the constraint that actually matters. Explore the HelloFresh success story →
Before you sign anything
Who owns your integrations after launch?
Meet the pod who would run them, before you sign.
Why keeping some custom code cut total custom code by 85%
The headline result reads like a contradiction: Nuts.com kept a custom OMS, a custom WMS, and a custom shipping calculator, and reliance on custom code still dropped by an estimated 85%. The two facts are the same fact.
The 85% didn’t come from replacing the differentiating systems. It came from stopping the custom maintenance of everything that never needed to be custom in the first place. Subscriptions, search, personalization, customer service, promotional logic — all of that had been bespoke because the composable stack had no other way to do it, and all of it went to Skio, Algolia, Dynamic Yield, Gladly, and Shopify Functions. What stayed custom stayed custom because it genuinely had to.
That’s the mechanism behind the pattern. Rip-and-replace tries to hit zero custom code and fails, because the differentiating systems resist being flattened into native features and either break or get rebuilt at enormous cost. Preserve-everything keeps the maintenance burden that was the problem to begin with. Integrate-the-right-things does neither: it lets go of the commodity custom code, which is most of it, and keeps the differentiating core, which is small. The total goes down precisely because the effort stops being spread across things that didn’t deserve it — Nuts.com’s own business case projected total cost of ownership down 28% in the first year and 41% by the second, the structural saving of owning less, not more. (Both figures are the pre-migration model, not measured results — the full TCO case covers what went into them.)
When not to keep it
The pattern is “keep the differentiating systems,” not “keep the custom systems,” and the difference is where the honesty lives. Plenty of custom OMS and WMS builds should not survive a replatform, and a partner who tells you to preserve all of them is as wrong as one who tells you to replace all of them.
Let a custom system go when it’s doing a commodity job a native feature or a mature app now does as well or better — the market may have caught up to something you had to build five years ago. Let it go when the only people who understand it have left, and the maintenance risk outweighs whatever edge it once provided. Let it go when keeping it means preserving a data model so tangled that every future integration inherits the mess.
And be suspicious of the argument that a system is differentiating simply because it’s complicated. Complexity and differentiation are not the same thing, and some custom systems are just accumulated workarounds wearing the costume of a competitive advantage.
The right test isn’t “did we build it” or “is it hard to replace.” It’s “does this encode something about how the business runs that the market genuinely hasn’t solved, and is that thing still worth owning.” If yes, keep it and integrate it. If no, this is the one moment — the replatform — where you have the budget and the permission to let it go, and you should.
The test
For each custom system, in order:
- Is the job it does a commodity? If a native feature or a mature app does this well, the system is a candidate to retire, not keep.
- Does it encode something specific to how your business operates that the market hasn’t solved? If no, it’s custom by history, not by need — let it go.
- Is that specific thing still worth owning? A differentiator that no longer differentiates is just maintenance.
- Can it be integrated cleanly — a real API or file exchange, a data model you can write a contract against? If integration would cost more than a clean rebuild, that changes the math.
- Do you still understand it? A system only its former engineers understood is a risk you’re keeping, not an asset.
Keep the systems that pass all five. Integrate them to their own guidelines, with a contract at the boundary and end-to-end testing across the chain. Retire the rest — that’s where the 85% comes from.
What you keep either way
Whether a system is kept or replaced, the boundary around it needs the same discipline: a written data contract, retry logic and alerting on every sync, and documentation your team can read without the people who built it. A kept custom system that’s integrated to a real contract is a well-behaved boundary. A kept custom system that’s just been left connected the way it always was is a landmine with a longer fuse. The decision to keep is only as good as the integration that follows it.
This piece is one part of a wider model — see enterprise Shopify integrations for the order chain the whole cluster is organized around, how we run integration work for the engagement itself, Shopify OMS Integration and Shopify WMS Integration for how we scope each system, and data migration and parity for what has to survive the move intact.
Frequently Asked Questions
Can we keep our custom OMS or WMS when we move to Shopify?
Yes, if it’s doing something specific to how your business runs that the market hasn’t solved — perishable logistics, complex allocation, a fulfillment process particular to your operation. Nuts.com kept a custom OMS, a twenty-year-old custom WMS, and a custom shipping calculator through a full replatform to Shopify, integrated rather than replaced. What you shouldn’t keep is a custom system doing a commodity job a native feature or mature app now handles.
Doesn’t keeping custom code work against the point of replatforming?
Not if you keep the right code. Nuts.com’s reliance on custom code fell by an estimated 85% while keeping its differentiating systems, because the reduction came from retiring all the custom code that never needed to be custom — subscriptions, search, personalization, customer service — not from touching the core that did. Keeping the small differentiating part is what makes retiring the large commodity part safe.
How do you integrate a system you didn’t build?
To its own guidelines, not around them. We work from how the custom system actually behaves and its real constraints, write a data contract for every field that crosses the boundary, and test end to end across the whole order chain — including the custom system and anything downstream of it — before launch. The custom shipping calculator at Nuts.com, for example, was bridged into Shopify checkout rather than rewritten.
What happens to subscriptions and stored payment tokens in a move like this?
Payment-token migration is the delicate part, because a mistake means a subscriber’s next charge silently fails — lapsed billing and churned subscribers at cutover, which don’t get recovered later. On the Nuts.com migration, Shopify’s Professional Services team handled the payment-token migration so active subscribers moved without re-entering payment details or losing their delivery cadence.
Wondering whether a system you built is worth keeping? Talk to an architect — sorting that is the first thing we do.
Before you sign anything
Integrations need an owner, not a ticket queue.
Ninety minutes with the Account Manager and Delivery Manager who would own your account, before you sign anything. A written 90-day plan either way.










