All URIs are relative to https://api.ebay.com/sell/account/v1
Method | HTTP request | Description |
---|---|---|
getPrivileges | GET /privilege |
getPrivileges(): SellingPrivileges
This method retrieves the seller's current set of privileges, including whether or not the seller's eBay registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity they can sell on a given day).
<?php
use SapientPro\EbayAccountSDK\Configuration;
use SapientPro\EbayAccountSDK\Api\PrivilegeApi;
// Configure OAuth2 access token for authorization: api_auth
$config = Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PrivilegeApi(
config: $config
);
try {
$result = $apiInstance->getPrivileges();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PrivilegeApi->getPrivileges: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\SapientPro\EbayAccountSDK\Models\SellingPrivileges
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]