API Documentation

DanDomain Shop API Documentation

We have started to move alle endpoints from API V1 to V2, to e.g. improve performance.

During this period of time, where we are moving the endpoints, we will have both versions running.
Furthermore, all new features in the webshop API, will be implemented in API v2.

 

API v2

Documentation for API v2, can be found by going to Settings > Integration: Click the “Swagger” button to open the link. You can also add this path your shop URL to open it:

In API v2 we use basic authentication:
https://swagger.io/docs/specification/authentication/basic-authentication/

The API key is a Base64 encoding of “username:password”. As we don’t have usernames it will be of “:apikey” (the colon character included).

The API key can be created manually in each shop, or as part of the app flow (requires you to be a recognized app partner). You can read more in this article: https://support.dandomain.dk/webshop-hjaelp/api/webhooks/

Attention: When providing an invalid API key a login prompt will be displayed. There are no right credentials for this prompt -instead provide a valid API key and apply it to the Swagger page.

 

API v1 (DEPRECATED)

The shop API contains the following endpoints. The endpoints can be accessed via REST(JSON) or SOAP.

Throughout the documentation there are code samples. This code is not for production use, but merely a hint of how to call the operations.


Du finder dokumentationen til DanDomain Webshop her: https://webshop-help.dandomain.dk x