PHP client library

Make sure you familiarize yourself with the following important concepts of our API:
Prices and Quantities, Products and Articles, Sync Markers
After taking the time to understand these concepts, you will much better understand the basics of our API.

Our PHP client library is free to use in any project, commercial or otherwise.

Install via Composer:

Or: Download the latest release here

Example of usage:

The following script will connect to the API with your credentials and try to request the currently running version of the API.

This should output:

Current API version: 1.0.0

In case you used an invalid ident or secret:

Check to make sure you supplied the proper values in your calls to  setApiIdent en setApiSecret.

In case the API can’t be reached, or the URL is invalid:

or:

or:

Generating XML formatted requests and responses in the PHP client

First enable the debugger by adding the following line at the top of your code.

Now you can use the following line to get XML formatted request

And:

to generate the XML formatted response.

Both the request and the response can be generated in the same code block.