bol-retailer-php-client
bol-retailer-php-client copied to clipboard
PHP Client library for Bol.com Retailer API
The $AcceptLanguage parameter didn't get used. So I updated the generator and the baseClient to use the parameter.
An optional parameter must be defined after the required parameters. This has been required since php 8.1. Due to this issue we encountered a PHP error. See: https://arc.net/l/quote/xqkamcmp
fixed Picqer\BolRetailerV10\BaseClient::Picqer\BolRetailerV10\{closure}(): Argument #4 ($exception) must be of type ?GuzzleHttp\Exception\RequestException, GuzzleHttp\Exception\ConnectException given, called in /application/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php on line 100
There was no response type for the getCommissionRates which makes it impossible for the library to decode the response into the corresponding model. Added code 207 as documented by Bol.