Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Bol.com Plaza API client for PHP

License

Notifications You must be signed in to change notification settings

picqer/bol-plaza-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Bol.com Plaza API client for PHP

This is an open source PHP client for the Bol.com Plaza API.

DEPRECATED!

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.

Installation

Get it with composer

Run the command:

composer require picqer/bol-plaza-php-client

Example: get orders

<?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.