This packages combines the group of packages needed.
to use in composer add to the require section:
"require": {
"unifysell/unifysell-sdk-php": "*"
}
see https://getcomposer.org/download/
You can have a look at the example/complete-example.php
file for a basic usage example.
Download Access Token from unifysell Control Center (UCC).
$config = Unifysell\SDK\Configuration::getDefaultConfiguration()->setApiKey(
'Authorization',
'----INSERT BEARER TOKEN HERE----'
);
$config->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Unifysell\SDK\Api\OrdersApi(
new GuzzleHttp\Client(),
$config
);
$result = $apiInstance->getOrder(1);