
Headless E-Commerce Implementation Costs: The Rebuild Is the Big Spend
A quote for a headless shop looks larger than the platform price suggests. Here is where the money goes, what founders underestimate, and when the spend pays back.

When you weigh a custom web app build vs buy decision, it feels like a fork in the road. One path costs more upfront and gives you control. The other costs less and gets you moving sooner. Most advice stops there, and so it sends many founders down the wrong path for at least part of their product.
The better question is which parts of your product deserve to be yours. Some parts are commodities, so you should rent them. Others are the reason customers choose you, so you should own them. This guide gives you a way to sort the two, and it flags the cost that most budgets miss: the connections between systems.
A web app is not one thing. It is a login system, a payment flow, a data model, a set of screens, a reporting layer, and a handful of connections to tools you already use. Each piece has its own answer to the build-or-buy question. Treating the custom web app build vs buy question as a single choice makes you overpay for commodity features or underinvest in the ones that set you apart.
Buying deserves to be your starting assumption. Software vendors spread the risk and expense of building across many customers, and you cannot match that economy with a single product. But the logic stops holding in a few specific places, and those places tend to be the ones your customers care about. The rest of this article maps them, so you can spend where it counts.
There is also a timing effect. A buy decision is easy to reverse in month two and hard to reverse in year three, after your data, your staff habits and your integrations have settled around the product. A build decision has the opposite shape: you pay more early and keep more freedom later. Keep that asymmetry in mind as you read.
Buying means subscribing to a product that already works. You get speed, a predictable fee, and a vendor who maintains the software and patches it. For common problems such as accounting, scheduling or basic customer records, that is usually the right call. Nobody gains an advantage by rebuilding a standard invoice screen.
The trade-off sits in fit and control. Off-the-shelf tools make you adapt your process to their screens, so workarounds accumulate: spreadsheets on the side, manual re-entry, one colleague who knows how the tool really works. Pricing also shifts with usage and seat counts, and your data lives in someone else's structure. None of that is a reason to avoid buying. It is a reason to decide which workarounds you can live with before you sign.
Here is a useful test. Describe your process out loud to the vendor and count how often the answer is 'you would do that differently here.' A few times is normal. If it happens at every step, you are about to pay for software that fights your business.
Build when the software is what customers pay you for, or when it encodes a process that competitors cannot copy by signing up for the same product. Harvard Business Review makes a related point in its discussion of when a company should develop its own software: the decision is a critical one, and building may make sense if buying what you need is not possible. Notice the framing. Building is the answer when the market has no fit, not the default.
Three signals point toward building. Your workflow is unusual enough that every product forces costly workarounds. Your data or decision logic is a strategic asset you want to control. Or your product is a customer-facing service where the experience itself is the differentiator. When two of the three apply, the custom web app build vs buy comparison starts to favour building that component.
If you reach that point, a studio such as Xerx custom software and web app development can scope the custom part narrowly, so you are not paying to rebuild what you could rent. A narrow scope is also your best defence against budget overruns. Costs and suitability vary by project, so ask any partner for a written scope and a milestone plan before you commit.
A startup testing demand and a ten-year-old operating business face the same question under different constraints. Early on, your biggest risk is building something nobody wants. That points toward buying or assembling most of the product, and building only the single feature users would pay for. A smaller first version also tells you sooner whether the idea works.
An established small or mid-sized company has the opposite problem. Its processes, customer data and existing tools already exist, so the lines between systems dominate the cost. A tool that looks cheap in a demo can turn expensive once it must read from your accounting system and write to your warehouse. For these businesses, the integration plan matters more than the feature list.
Neither stage has a universally right answer. What differs is the question to start with: a startup should ask what it can learn cheaply, and an established business should ask what it can safely connect. If you are still shaping the first release, scoping a minimum viable product comes before any of the decisions in this article.
In practice, a custom web app build vs buy discussion has four realistic outcomes, not two. The table below sets them next to each other, with the situation each one suits and the main risk to watch.
| Option | Best when | Main risk |
|---|---|---|
| Off-the-shelf SaaS | The problem is common and well understood | Workarounds pile up as your process diverges from the product |
| Low-code platform | You need a tailored internal tool and can accept platform limits | Lock-in and rising licence costs as usage grows |
| Custom build | The workflow or experience is what sets you apart | Higher upfront cost and ongoing ownership of maintenance |
| Hybrid | The core is yours and the commodity parts are rented | Integration work between the parts |
Low-code platforms sit between the two extremes. Gartner defines enterprise low-code application platforms as software for the accelerated development and maintenance of applications, using model-driven tools, generative AI and prebuilt component catalogs. Its Peer Insights page for the category lists 159 products, including OutSystems, Mendix, Power Apps and Retool, so choosing a platform is a project in its own right.
Gartner's mandatory features for the category make a useful shortlist filter. They include identity and access management, an integrated runtime, extensibility through component catalogs, scripting and SDKs, and self-service documentation so you can run the platform without calling the vendor each time. Ask every candidate how it handles each one. The honest trade-off remains, though: you build faster, but on the vendor's terms and inside the vendor's limits.
That makes low-code a strong fit for internal tools with a known scope and a modest user count. It is a weaker fit for a customer-facing product that you expect to grow and reshape for years, since the platform's ceiling becomes your ceiling.
Anyone pricing a custom web app build vs buy choice should know that integration is the cost most budgets leave out, and it is the one thing you cannot purchase off the shelf. A subscription fee covers a tool. It does not cover connecting that tool to the rest of your business.
Martin Fowler's essay You Can't Buy Integration argues that integration products such as ESBs, ETL tools and API platforms do not solve a business problem the way a CRM or a fraud-detection product does. They are programming languages, bundled with a toolchain and a runtime. When you buy one, you agree to build the integration yourself, in the vendor's language.
He adds that teams plan and cost projects around the boxes, meaning the applications they introduce, while the lines between those boxes become a hidden and often primary driver of technical debt. It is the reason things take longer now than they used to. For a founder, the translation is simple: price the lines as carefully as you price the boxes.
For every tool you plan to buy, list what it must exchange with your other systems. Then note who builds each exchange and who maintains it when either side changes. Those answers turn a vague allowance for 'integration' into line items you can compare across the build and buy options.
Fowler also recommends building clean interfaces around business capabilities rather than around specific systems. His example: you do not need an SAP interface, because your users do not care about SAP, but you might need an order-management interface. Put that way, a bought product becomes replaceable, because the rest of your business talks to the capability and not to the vendor.
He reports having seen several large adoptions of low-code integration tools run into performance concerns that worsen over time. Teams usually respond first with extra licensing, until that cost becomes prohibitive and lock-in is already deep. That is one practitioner's observation, not a law, but it suggests a useful question for any vendor: what happens to my bill when volume doubles? Our guide to connecting AI to your business infrastructure applies the same interface thinking to AI projects.
You can buy the boxes. You cannot buy the lines.
A practical hybrid is to rent infrastructure and build only what is distinctive on top. Managed hosting shows the pattern clearly. InfoQ's 2020 report on Microsoft's Azure Static Web Apps preview describes a service that, in the words of a Microsoft program manager, takes you from source code to global availability with everything managed for you. Before it existed, the report notes, teams combined several Azure services and found them hard to manage.
That product launched as a preview in 2020, so treat it as an illustration and not a recommendation. The principle has aged well. Authentication, payments, email delivery, hosting and monitoring all have established services, so your custom effort can go into the screens and rules that customers actually notice. Owning less code also means a smaller maintenance bill.

Run this exercise with your team in a single sitting. List the five or six components of your product, then score each one against three questions.
Components that fail the first question lean toward buying. Components that pass it and fail the second lean toward building. The third question changes the price of either answer, because integration cost applies to both. Write the result down, since it becomes the first draft of your scope.
Typical patterns look like this. Accounts and login, payments, email and standard reporting usually lean toward buying. Pricing rules, matching logic and the workflow that defines your service usually lean toward building. Treat these as starting points, not rules, because your business may flip any of them.
Software costs do not end at launch. Fowler borrows a definition of software engineering from a group of Googlers: programming over time. Your product will change as your business changes, so the real comparison is how cheaply each option lets you make those changes.
Bought software moves maintenance to the vendor but adds subscription fees that grow with usage. Custom software puts maintenance on you but gives you control of the roadmap. Neither is free. When deciding whether to build or buy your custom web app, estimate both across three to five years, including the people who will run it.
Fowler lists several reasons that integration code built on low-code tools gets harder to change. Comparing versions is harder because the underlying markup is noisy, parallel work by several developers is painful, and each test run needs the vendor's runtime. These are his observations about integration tools, so check whether they apply to the platform you are considering. A bought product can also turn into a burden, which is why the signs of a legacy software system are worth knowing before you sign a multi-year contract.
Whether you are talking to a software vendor or a development studio, ask for evidence of the unglamorous work. These questions help.
Fowler recounts a test from Gregor Hohpe's book The Software Architect Elevator. After a vendor shows how simple drag-and-drop development is, Hohpe asks the salesperson to leave the room for two minutes while he changes something at random in the underlying markup. When she returns, he asks her to debug it. According to Fowler, no vendor had taken up the offer as of the book's publication. You need not run that exact test, but the spirit is right: ask to see how change is made, not only how the first version looks.
Start small and decide per component. Write down the five or six pieces of your product, mark the ones that differentiate you, and price the connections before you price the features. A custom web app build vs buy decision made this way is a smaller bet than one made for the whole product, and it is easier to correct.
The same logic of separating what you rent from what you rebuild shows up in online shops too. Our breakdown of headless e-commerce implementation costs explains why the critical spend there is the rebuild and not the platform. Bring your component list to your next vendor call or partner workshop, and ask each party to price the connections in writing.
Upfront, usually yes, because you pay for design and development before anything runs. Over several years the comparison depends on subscription growth, workarounds, integration work and maintenance. Costs vary by project, so ask for written estimates for both paths before you decide.
Low-code suits internal tools with a known scope and a modest user count. Check whether the platform lets you extend it with code, how you would leave it, and how licence costs change as usage grows. Gartner lists 159 products in the category, so compare several.
Yes, and many products should. Buy commodity parts such as login, payments, email and hosting, and build the workflow or experience that sets you apart. Price the connections between the parts, because that work applies to both approaches.
Integration. Martin Fowler argues that you can buy the applications but not the connections between them, because integration tools still require you to build the integration yourself. List what each tool must exchange with your other systems and who maintains it.
Keep reading

A quote for a headless shop looks larger than the platform price suggests. Here is where the money goes, what founders underestimate, and when the spend pays back.

Before you budget for a shared connection layer, learn what it does, when a few direct connections are enough, and who owns the risk after launch.

Age does not make software legacy. Learn the cost-of-change test, six warning signs, four modernization routes and the data risks to weigh before you set a budget.