Contents
An API lets your partners query your stock, prices or orders and send you data without re-entry. Added to an app, it falls under the "connection" module ($2,300 (€2,000)excl. VAT in my estimator); a complete API with partner access management costs $6,800 to $22,400 (€6,000–€20,000)excl. VAT.
Your customers call to ask about their order status. Your distributors re-enter your catalog into their own system. Your carrier sends you Excel files. An API (application programming interface) ends these manual exchanges: it lets your partners’ systems talk directly to yours. Here is when it makes sense, what it costs, and how to design it properly.
What an API actually delivers
An API is a controlled entry point into your system. An authorized partner can, depending on the permissions you grant:
- read: available stock, net prices, order status, tracking number;
- send: an order, a quote request, a signed delivery note;
- get notified: your system alerts them when an order ships or an invoice is issued (this is called a webhook).
For a decision-maker, the value is measured in re-entry avoided, fewer errors and follow-up calls that disappear. It is also a sales argument: a large account is more likely to choose a supplier that plugs into its own tools.
API, export or portal: picking the right level
An API is not always the best answer. Compare it with simpler options:
| Option | Best for | Data freshness | Partner effort | Indicative cost |
|---|---|---|---|---|
| Scheduled export (CSV, SFTP) | Partners who load one file a day | Daily | Low | Included in the connection module ($2,300 (€2,000)excl. VAT) |
| Webhook | Partners who want to be notified of an event | Immediate | Medium | Included in the connection module |
| Documented REST API | Partners with an IT team | Real time, read and write | Medium to high | $2,300 (€2,000)excl. VAT and up as an add-on; $6,800 to $22,400 (€6,000–€20,000)excl. VAT for a complete API |
| Web portal | Partners without an IT team | Real time | No development | See how much a B2B portal costs |
In practice, many companies combine a portal for smaller customers and an API for key accounts. Both rely on the same data and the same business rules.
What a well-designed API looks like
I build APIs around a few simple principles that you can demand from any provider:
- Published documentation in the standard OpenAPI format, which a partner’s IT team can read and test without calling you.
- Access per partner: each partner has its own credentials, which can be revoked at any time, and only sees its own data.
- A separate test environment, so partners can develop without touching your real orders.
- Versioning: when the API changes, the previous version keeps working while partners migrate.
- A call log, so you know who read or changed what, and can diagnose a problem quickly.
Security, point by point
An API opens a door into your information system. The OWASP API Security project, an international reference in application security, publishes a ranking of the most common risks (2023 edition, checked in October 2026). At the top: broken authorization checks, which let one partner access another’s data just by changing an ID in a request.
In practice, I plan for:
- authentication with a key or token (OAuth 2.0 for the most demanding cases);
- permission checks on every request, not just at sign-in;
- rate limits per partner, so an error on their side cannot overload your system;
- encryption in transit (HTTPS) and logging.
These points are covered in more detail in the most common security flaws in SMB applications.
What an API costs
There are two scenarios:
- Adding an API to an app I am building: this is the “connection to other tools” module, priced at $2,300 (€2,000)excl. VAT in the estimator. It covers a focused API (a few resources, read and write, documentation). Several separate flows or partners with very different needs increase that amount.
- Building an API around an existing system (ERP, in-house database): this is a business app project in its own right, $6,800 to $22,400 (€6,000–€20,000)excl. VAT and 1 to 3 months depending on the number of resources exposed, the developer area and partner account management. I start with an audit of the existing system to check what can be accessed.
Hosting and maintenance come on top, usually modest unless call volumes are very high.
When an API is not the right answer
- Your partners have no IT team: they will not use it. A portal or an export will be more useful.
- Exchanges go through a mandated standard, such as EDI with large retailers: see EDI for SMBs.
- One partner, one file a day: a scheduled export is enough and costs less.
- Your internal system is unreliable: exposing wrong data to partners makes the problem worse. Fix the source first.
Where to start
- List your partners’ requests: which data, how often, in which direction.
- Pick two or three pilot partners willing to connect first.
- During the discovery call, we choose the right level: export, webhook, API or portal.
- During scoping, I write up the list of resources, access rules and a fixed quote; the documentation ships with the API.
The API then opens to the pilot partners, gets adjusted based on their feedback, and then opens to everyone else.
Frequently asked questions
What is the difference between an API and a file export?
An export sends a file at a set time; an API answers on demand, in real time, and can also receive data. An export is often enough for a catalog updated once a day. An API becomes useful when partners need fresh information or place orders.
Will our partners be able to connect to our API?
If they have an IT team or a provider, yes, as long as the API is documented. For smaller partners, a web portal or an export is often still needed alongside it.
Does an API put our data at risk?
It opens a door, so it has to be protected: a key or token per partner, permissions limited to their own data, a rate limit and an access log. Designed properly, it is safer than files sent by email.
Who maintains the API when partners ask for changes?
You own it: the code and documentation are transferred to you once paid in full. Changes are then billed as a fixed fee or by the hour, with one simple rule: never break what partners already use.