Skip to main content

Conventions & errors

These rules apply to every Coolblue Business API.

Required headers​

HeaderValueWhy
AuthorizationBearer <access_token>See Authentication.
User-AgentCoolblue-YourCompanyNameRequired for firewall-level allowlisting. Requests without a recognisable User-Agent can be blocked with 403.
Content-Typeapplication/jsonFor 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:

StatusMeaningWhat to do
400The request is malformed or fails validation.Fix the request. Do not retry it unchanged.
401The access token is missing, invalid or expired.Request a new token and retry once.
403The token lacks the required scope, or the request was blocked by the firewall.Check the scopes and the User-Agent header.
404The resource does not exist, or is not linked to your credentials.Check the identifier and the environment.
422The request is valid, but cannot be processed, for example the products cannot be delivered to the address.Read title and change the request.
5xxA 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.