Conventions & errors
These rules apply to every Coolblue Business API.
Required headers
| Header | Value | Why |
|---|---|---|
Authorization | Bearer <access_token> | See Authentication. |
User-Agent | Coolblue-YourCompanyName | Required for firewall-level allowlisting. Requests without a recognisable User-Agent can be blocked with 403. |
Content-Type | application/json | For requests with a body. |
Use a stable User-Agent value: send the same value from every system that calls us.
Errors
We use standard HTTP status codes:
| Status | Meaning | What to do |
|---|---|---|
400 | The request is malformed or fails validation. | Fix the request. Do not retry it unchanged. |
401 | The access token is missing, invalid or expired. | Request a new token and retry once. |
403 | The token lacks the required scope, or the request was blocked by the firewall. | Check the scopes and the User-Agent header. |
404 | The resource does not exist, or is not linked to your credentials. | Check the identifier and the environment. |
422 | The request is valid, but cannot be processed, for example the products cannot be delivered to the address. | Read title and change the request. |
5xx | A temporary problem on our side. | Retry with exponential back-off. Contact support if it persists. |
Error bodies follow RFC 7807 Problem Details (application/problem+json):
{
"title": "Cannot deliver selected products to the provided address.",
"status": 422
}
Log the status code and the full response body. Include both when you contact support.
Dates and times
- Dates use the ISO 8601 format
yyyy-MM-dd. - Date-times are in UTC, for example
2026-09-23T08:00:00Z. Convert them to the customer's local time before showing them.
Versioning and compatibility
We make every reasonable effort to keep the APIs backwards compatible, for example by only adding optional fields and enum values. Make your integration tolerant: ignore unknown fields, and handle unknown enum values without failing.
If a breaking change is needed, we inform partners at least two weeks in advance. All documentation changes are listed in the Changelog.