PHP code example of bricre / ebay-sdk-sell-logistics
1. Go to this page and download the library: Download bricre/ebay-sdk-sell-logistics library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bricre / ebay-sdk-sell-logistics example snippets
use Ebay\Sell\Account\Api\Program;
$httpClient = new \GuzzleHttp\Client([
'base_uri' => 'https://api.ebay.com/sell/account/v1/',
'headers'=>[
'Authorization'=> 'Bearer <accessToken>'
]
]);
$api = new Program($httpClient);
$programs = $api->getOptedIns();