How easy it is to switch e-commerce platform, add a new CRM or stop re-entering orders by hand is rarely decided by each system on its own. It is decided by how they exchange data with each other. API-first means planning those connections first and choosing systems with good, documented APIs. It takes a bit more planning up front, but makes you less dependent on individual vendors and cheaper to change later.
What an API is, briefly
An API is an agreed way for two systems to talk to each other. When a customer places an order in your online store, APIs can send that order to the accounting system for bookkeeping, update stock in the inventory system and add the customer to the CRM – the customer register where sales and support see the history. Without APIs the same thing happens through exports, spreadsheets and manual data entry.
What API-first means for decision-makers
For a developer, API-first is a way of working. For a business it comes down to three decisions:
- Every type of data has a home. You decide which system is the source of truth for customers, products, prices and stock. Other systems fetch from there instead of keeping their own copies that drift apart.
- Connections are replaceable parts. The integration between the online store and the accounting system is built so it can be swapped out without affecting everything else.
- New channels connect to the same source. An app, a reseller portal or a marketplace fetches data from the same place as the website, rather than becoming yet another island.
Where you notice it day to day
Weak integrations rarely show up in a quote, but they often show up in daily work:
- Finance. Orders and payments are entered by hand into the accounting system – in Sweden typically Fortnox or Visma – and month-end reconciliation drags on.
- E-commerce and inventory. Stock levels update with a delay, and items that are out of stock still get sold.
- CRM. Sales cannot see what the customer bought online, and support lacks order history.
- Reporting. The numbers differ between systems, and nobody knows which one is right.
Each of these gaps costs working hours every week, and the errors multiply as the business grows.
Cost now versus later
The cheapest short-term solution is usually a direct connection between two systems, often a ready-made plugin. That is frequently the right call. The problem starts when the number of systems grows. With five systems all connected directly to each other, you can end up with as many as ten separate connections, each with its own logic. Replace one of those systems and every connection to it is affected.
With an API-first approach, systems instead connect through a few clear interfaces. Switching accounting system then becomes a contained project rather than a fresh start. The extra cost up front is mainly planning: mapping the flows, deciding where data should live and documenting the connections. An online store with integrations normally takes us 4–8 weeks, and much of that time goes into exactly this work and into testing the flows properly.
Lock-in: what to watch out for
Lock-in means leaving a vendor becomes so expensive or complicated that you stay even though you would rather not. Warning signs:
- Your data cannot be exported in full, or only as PDF files.
- API access is only available on the most expensive plan or costs extra.
- The API is undocumented or limited to a handful of functions.
- The integration was built by a supplier who keeps the code.
- The contract says nothing about how you get your data out when it ends.
Lock-in can rarely be avoided entirely. The goal is for it to be a conscious choice with a known cost, not a surprise.
What to require from vendors
- A documented API. Ask to see the documentation before you sign. If it is public and up to date, that is a good sign.
- Full data export in an open format, such as CSV or JSON – common file formats other systems can read.
- Ownership of the integration code built for you, and access to it.
- Notice of changes. The vendor should give you advance notice before the API changes, so your connections do not stop working overnight.
- Monitoring and alerts. Integrations often fail without anyone noticing. Someone should be alerted when an order does not come through, and it should be agreed who.
- Permissions per connection. Each integration should have its own access that can be revoked without affecting anything else.
- A test environment, so changes can be tried without touching real orders and invoices.
When ready-made connections are enough
Not everyone needs a carefully designed integration architecture. If you have one online store and one accounting system, and there is a well-maintained ready-made connector between them, that is often the best choice. Choose a ready-made connector if the flow is standard and volumes are moderate. Choose a custom integration if several systems need to share data, you have business rules that off-the-shelf plugins cannot handle, or you plan to add new sales channels.
Our recommendation
Before you choose your next system, sketch out which data should flow where and which system should be the source of truth. Then put the requirements above to every vendor. It takes a few hours and can save major rebuilds later. We build APIs and integrations between e-commerce, accounting and business systems, and describe how under API development and integrations. If you would like help mapping your data flows, feel free to get in touch.