This is an open source PHP client for the Bol.com Plaza API.
Watch out, the Plaza API of Bol.com will be discontinued in April 2020. The new API is the Bol Retailer API. We build a brand new client for this API, you can find it at https://github.com/picqer/bol-retailer-php-client.
Get it with composer
Run the command:
composer require picqer/bol-plaza-php-client
<?php
require __DIR__ . '/vendor/autoload.php';
$publickey = '--YOUR PUBLIC KEY--';
$privatekey = '--YOUR PRIVATE KEY--';
$client = new Picqer\BolPlazaClient\BolPlazaClient($publickey, $privatekey);
$orders = $client->getOrders();
var_dump($orders);
See the tests file for more information.
Thanks to @mwienk for migrating this package for the Bol Plaza API V2.