- An API is a fixed agreement that lets one program request data or trigger actions in another program, without a person in between.
- Your online shop already uses a few: bol, Shopify and Mollie all have one, each with its own keys, limits and versions.
- The API itself is usually free. What costs money and time is the integration around it: software that calls the API, handles errors and keeps working when the supplier changes something.
What is an API, in plain words?
An API (Application Programming Interface) is a fixed agreement that lets software talk to other software. Your online shop asks a question in an agreed format, and the other system answers in an agreed format. Nobody has to click anything.
Mozilla, the organisation behind Firefox, describes an API as a set of features and rules within a program that lets other software interact with it, "as opposed to a human user interface" [1]. A screen with buttons is made for people. An API is the same shop, but with an entrance for software. Mozilla also calls it a simple contract between the application offering the API and the software using it [1].
What does that mean for you? Without APIs, you retype bol orders into your accounting, enter track and trace codes by hand in your seller account and adjust stock on each channel separately. With an API, a program does that every few minutes, without typos.
The difference between an API and an integration. The API is the counter a supplier opens up. An integration is the software that uses that counter: it fetches the orders, converts them and passes them on to your accounting. So when someone says "bol has an API", that does not mean anything is running for you yet.
How does an API work when you look inside?
Almost every API you come across as an online shop works over HTTP, the same technology as a website. Your program sends a request to an address (the endpoint), with a method that says what you want. You get a response with a status code and usually data in JSON.
A request has four parts:
- The address. For example
https://api.bol.com/retailer/ordersfor your orders at bol [6]. - The method. HTTP has a fixed set of methods "to indicate the purpose of the request" [2]. Developers also call them verbs: fetch, create, replace, modify, delete.
- The identification. A key or token that says who you are. With bol, the "Bearer token" must be sent with every request that requires login [6].
- The content. When creating or modifying, you send data along, usually in JSON. Bol only accepts JSON for requests, but can also return responses as CSV, PDF or Excel [9].
A simplified example of such a request and response:
GET https://api.bol.com/retailer/orders
Authorization: Bearer eyJhbGciOi...
200 OK
{
"orders": [
{ "orderId": "1043946570", "orderPlacedDateTime": "2026-11-22T14:03:11+01:00" }
]
}
JSON is a text format for data: numbers, text, yes/no values, lists and objects [4]. You can read it without being a programmer, which is handy when you want to understand an error message.
The methods and status codes you see most often:
| What you see | Meaning | Example in an online shop |
|---|---|---|
| GET | Fetch data, change nothing [2] | Fetch new orders |
| POST | Create something or start an action [2] | Register a shipment |
| PUT | Replace something in full [2] | Overwrite a product listing |
| PATCH | Modify something partially [2] | Only update the stock |
| 200 | The request succeeded [3] | The orders come back |
| 401 | Not logged in, or the token is wrong [3] | Expired or wrong key |
| 404 | Not found [3] | An order number that does not exist |
| 429 | Too many requests in a short time [3] | You have hit the limit |
| 500 | Error on the server side [3] | Outage at the supplier |
Mozilla notes that a 401 is officially called "unauthorized", but really means "unauthenticated": the server does not know who you are [3]. If you see that code, check your key or token first.
What is an API for an online shop, and which ones do you already use?
For a webshop, an API is how your shop, your sales channels, your payment provider and your accounting exchange data. Chances are you already use a few, even if you never called them that: every plug-in or app that passes on orders talks through an API.
| Party | What you do via the API | How you log in | Notable |
|---|---|---|---|
| bol (Retailer API) | Orders, shipments, offers, returns | OAuth2 with Client ID and Client secret [6] | No ready-made solution from bol itself: you need software development [7] |
| Shopify (GraphQL Admin API) | Products, stock, orders, customers | Access token in a header [11] | A new version every quarter [12] |
| Mollie | Payments, refunds, subscriptions | API key, separate for test and live [16] | Reports status changes via webhooks [17] |
As of November 2026.
Bol states in its own documentation that you can build an integration yourself or use an existing third-party solution, and that your own integration requires "software-development knowledge" [7]. How that integration works in detail is covered in Bol Retailer API: how the integration works. For your accounting, the same story applies to the Exact Online API.
Shopify is a good example of how an API changes. The older REST Admin API has been "legacy" since 1 October 2024, and since 1 April 2025 new public apps must use only the GraphQL Admin API [13]. Shopify also states that some new features are only available in GraphQL [13]. If your shop runs on an old app or a custom script, that is a reason to check what it is built on.
What is the difference between REST, GraphQL and a webhook?
REST and GraphQL are two ways of designing an API in which your software asks the question. A webhook reverses that: the other system sends you a message as soon as something happens. Most integrations use a combination.
REST is a set of design rules in which every item (an order, a product) has its own address and you retrieve or change it with standard HTTP requests [5]. Mozilla notes that almost every HTTP API is commonly called "RESTful", even if it does not follow all the rules [5]. The bol Retailer API works this way.
GraphQL uses a single address, and in your request you describe exactly which fields you want back. At Shopify, every GraphQL query goes to the same endpoint, and Shopify charges a number of points per field to determine the limit [11].
Webhooks are messages that a system sends on its own to an address of yours. Mollie uses them for status updates, "for example when a payment is paid" [17]. Shopify calls webhooks a fast alternative to repeatedly asking whether anything has changed [14].
| Approach | Who starts | Good for | Watch out |
|---|---|---|---|
| REST | Your software asks | Retrieving orders, updating stock | Often needs several requests for one overview |
| GraphQL | Your software asks | Fetch exactly the fields you need | Limit in points per query, not in number of requests [11] |
| Webhook | The other system notifies you | React immediately to a payment or new order | Sequence and delivery are not guaranteed [14] |
Note. Shopify literally writes that your app "shouldn't rely on receiving data from Shopify webhooks" and recommends fetching data periodically to keep everything in sync [14]. An integration that relies only on webhooks will sooner or later miss an order.
How do you get access to the bol, Shopify or Mollie API?
You get access with a key or with credentials you create in the provider's account. That key gives software the same power as an employee with a password, so treat it that way.
What that looks like per provider:
- bol. In your seller account, under "Client credentials voor de Retailer API", you create a set of credentials [10]. With those, you request a temporary access token via OAuth2, in JWT format [6]. Bol explicitly asks you not to fetch a new token for every request, because tokens are meant to be reused and the limits of the login service are much lower than those of the API [6].
- Shopify. Every request to the GraphQL Admin API includes an access token, and apps request specific permissions (scopes) on installation [11].
- Mollie. You get keys per profile, in pairs: a test key for building and a live key for real payments [16]. You only see the secret part when you create it [16].
Mollie gives three pieces of advice that apply to every API: don't share your keys, rotate them regularly, and use OAuth rather than an API key for third-party integrations [16]. If a key does leak, you can have Mollie regenerate it [16].
Takeaway. Give each integration its own key with a recognisable name. Bol recommends naming the credentials after the internal system, or after the integrator if it's an external party [10]. If you stop working with an agency, you revoke exactly that one key and the rest keeps running.
Want to see what creating keys looks like in a real dashboard? Read creating a Supabase account, and what you can do with it. It also explains the difference between a public and a secret key.
What goes wrong when working with an API?
Most API problems aren't caused by an outage, but by rules your integration doesn't follow properly: limits, versions, expiring tokens and webhooks that don't arrive. All four are things you can build in from the start.
Limits (rate limits)
Every serious API limits how many requests you can make. Bol returns a 429 when you hit a limit [8] and tells you in every response how much headroom you have left [8]. Bol also asks you to only send updates that are actual changes, and works best with a steady flow rather than large batches [8]. For most limits, Shopify uses a "leaky bucket": a bucket that can fill up and drains at a fixed rate [15]. You'll find the exact figures per endpoint for bol in all bol API rate limits.
Versions that expire
Shopify releases a new API version every three months and supports each stable version for at least 12 months [12]. If you request a version that no longer exists, Shopify responds with the oldest version that still works [12]. That sounds helpful, but it means your integration suddenly gets different responses from the ones it was built for. Shopify recommends updating every quarter [12].
Tokens that expire
A bol token gives access "for a limited time" [6]. An integration that doesn't renew the token in time suddenly gets 401 errors. One that renews it too often runs into the lower limit of the login service [6].
Webhooks that don't arrive, or arrive twice
In a webhook, Mollie only sends the ID of what has changed, and you fetch the current status yourself [17]. That way a fake message can never get an unpaid order processed [17]. If your server doesn't respond within 15 seconds, Mollie tries again, 10 times in total with increasingly long pauses [17]. Shopify doesn't guarantee the sequence and recommends recognising duplicate messages by a unique ID [14].
Our view. When we see webshop integrations go wrong, the cause is rarely the API itself. It's almost always a script written at some point without accounting for limits, versions or a webhook that doesn't arrive. It works fine for months, until the holiday rush or a new version breaks it.
How do you test an API without touching your real orders?
Most major providers offer a test environment or test keys, so you can build without touching real orders or payments. Always use those first.
Bol has a demo environment with fixed examples for every endpoint, using the same data models and validations as the live environment [7]. Bol does note that the demo isn't suitable for testing load or per-endpoint limits [18]. Mollie works with a separate test key: you build with the test key and switch to the live key as soon as you want to process real payments [16]. Mollie doesn't accept localhost addresses for webhooks [17], so for local testing you need a publicly reachable address.
What does an API cost, and what does an integration cost?
With bol, Shopify and Mollie, you use the API of your sales channel, webshop platform or payment provider without a separate bill for the API itself; the costs lie in building and maintaining the integration. That's development time, plus keeping track of versions, limits and keys.
You have roughly three routes:
- An off-the-shelf app or plug-in. Quick and cheap as long as your way of working fits what the app can do. You usually pay monthly.
- A channel manager or integration platform. One package that serves several channels at once. The trade-offs are covered in channel manager or custom integration.
- A custom integration. Built on your systems and way of working. How to approach it, what it costs and what to look for in a developer: read having an API integration built.
SolidDeploy is a dedicated tech team for e-commerce, retail and wholesale that builds, among other things, integrations on the systems you already use. Packages start with Start at €1,495 per month and Partner from €1,950 per month; Dedicated is tailored to you (see pricing). After a free consultation we get started within 2 weeks, and the first system is running within 30 days.
Our view. A single integration from one channel to your accounting can often be solved with an existing app. A custom integration only pays off if you have several channels, your own stock logic or non-standard processes, or if you already find yourself working around the app.
Frequently asked questions
What is an API in simple terms?
An API is a fixed agreement that lets one program ask something of, or do something in, another program. Through the bol API, for example, your webshop can fetch orders without anyone logging in and copying them over.
What's the difference between an API and an API integration?
The API is the counter a provider offers. The integration is the software that uses that counter to move data between your systems. An API without an integration does nothing for you yet.
Is an API free?
You can use the bol, Shopify and Mollie APIs without a separate bill for the API itself (as of November 2026). You pay for the app, the integration platform or the developer who builds and maintains the integration.
What is an API key and where do I find it?
An API key is a secret code that software uses to identify itself to an API, much like a password. You create it in the supplier's account; at bol, for example, under "Client credentials for the Retailer API" in your seller account. Never share it by email or chat.
Do I need a programmer to use an API?
Not for a ready-made app. For your own integration, yes: bol itself states that a direct integration requires software development knowledge and that bol does not offer a plug-and-play solution.
What would this do for you?
Describe in the Idea scan what you want to improve. You get a few targeted questions, your idea is then laid out clearly and we prepare a free consultation.
Sources
- MDN Web Docs (Mozilla), API, updated 11 July 2025
- MDN Web Docs (Mozilla), HTTP request methods, updated 23 September 2026
- MDN Web Docs (Mozilla), HTTP response status codes, updated 17 September 2026
- MDN Web Docs (Mozilla), JSON, updated 11 July 2025
- MDN Web Docs (Mozilla), REST, updated 11 July 2025
- bol, Retailer API: Authentication, accessed 23 November 2026
- bol, Partner API: Get started, accessed 23 November 2026
- bol, Retailer API: Rate limiting, accessed 23 November 2026
- bol, Retailer API: Conventions, accessed 23 November 2026
- bol, Creating API credentials for the Retailer API, accessed 23 November 2026
- Shopify, GraphQL Admin API reference (version 2026-10), accessed 23 November 2026
- Shopify, API versioning, accessed 23 November 2026
- Shopify, REST Admin API reference, accessed 23 November 2026
- Shopify, About webhooks, accessed 23 November 2026
- Shopify, API limits, accessed 23 November 2026
- Mollie, Authentication, updated 11 September 2026
- Mollie, Webhooks, updated 16 January 2026
- bol, Retailer API: Demo environment, accessed 23 November 2026
- Getting an API integration built · approach, costs and what to watch out for
- Bol Retailer API · how the integration works, and where it goes wrong
- All bol API rate limits · the numbers per endpoint
- KVK API: costs, integration and pitfalls



