Se puede descargar el SDK desde aquí:
https://github.com/davidtsadler/ebay-sdk-php
Recomiendo utilizar el phpjar.
--------------
<?php
use \DTS\eBaySDK\Constants;
use \DTS\eBaySDK\BusinessPoliciesManagement\Services;
use \DTS\eBaySDK\BusinessPoliciesManagement\Types;
$globalId = 'EBAY-US';
$service = new Services\BusinessPoliciesManagementService([
'credentials' => $config['credentials'],
'authToken' => $config['authToken'],
'globalId' => $globalId
]);
/**
* Create the request object.
*/
$request = new Types\AddSellerProfileRequest([
'shippingPolicyProfile' =>
[
'profileDesc' => 'Prueba',
'profileName' => 'Prueba',
'profileType' => 'SHIPPING',
'shippingPolicyInfo' =>
[
'dispatchTimeMax' => 2,
'shippingPolicyName' => 'Prueba',
'domesticShippingType' => 'Flat',
'domesticShippingPolicyInfoService' =>
[
[
'shippingService' => 'ShippingMethodStandard',
'shippingServiceAdditionalCost' => ['value' => 0.00, 'currencyId' => 'USD'],
'freeShipping' => true,
'fastShipping' => false,
'shippingServiceCost' => ['value' => 0.00, 'currencyId' => 'USD'],
'shippingSurcharge' => ['value' => 0.00, 'currencyId' => 'USD'],
'shippingServiceAdditionalCost' => ['value' => 0.00, 'currencyId' => 'USD'],
]
],
'shippingPolicyCurrency' => 'USD',
'GlobalShipping' => false,
'EligibleForPickupDropOff' => false,
'shipToLocations' => ['Worldwide']
]
]
]);
$response = $service->addSellerProfile($request);
debug($response);
--------------