{"id":18624564,"url":"https://github.com/zvps/ebay-sell-metadata-php-client","last_synced_at":"2025-11-03T19:30:25.412Z","repository":{"id":57092330,"uuid":"383441298","full_name":"zVPS/ebay-sell-metadata-php-client","owner":"zVPS","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-30T16:32:51.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T05:41:44.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zVPS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-06T11:15:50.000Z","updated_at":"2021-07-30T16:32:54.000Z","dependencies_parsed_at":"2022-08-22T21:40:12.692Z","dependency_job_id":null,"html_url":"https://github.com/zVPS/ebay-sell-metadata-php-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-metadata-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-metadata-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-metadata-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-metadata-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zVPS","download_url":"https://codeload.github.com/zVPS/ebay-sell-metadata-php-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239418578,"owners_count":19635208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:29:31.315Z","updated_at":"2025-11-03T19:30:25.360Z","avatar_url":"https://github.com/zVPS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPIClient-php\n\nThe Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the API also has operations that get information that helps sellers list items on eBay.\n\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 7.2 and later.\n\n### Composer\n\nTo install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:\n\n```json\n{\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github/zvps/ebay-sell-metadata-php-client.git\"\n    }\n  ],\n  \"require\": {\n    \"zvps/ebay-sell-metadata-php-client\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/OpenAPIClient-php/vendor/autoload.php');\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n// Configure OAuth2 access token for authorization: Client Credentials\n$config = Ebay\\Sell\\Metadata\\Configuration::getDefaultConfiguration()-\u003esetAccessToken('YOUR_ACCESS_TOKEN');\n\n\n$apiInstance = new Ebay\\Sell\\Metadata\\Api\\CountryApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$country_code = 'country_code_example'; // string | This path parameter specifies the two-letter ISO 3166 country code for the country whose jurisdictions you want to retrieve. eBay provides sales tax jurisdiction information for Canada and the United States.Valid values for this path parameter are CA and US.\n\ntry {\n    $result = $apiInstance-\u003egetSalesTaxJurisdictions($country_code);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling CountryApi-\u003egetSalesTaxJurisdictions: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.ebay.com/sell/metadata/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*CountryApi* | [**getSalesTaxJurisdictions**](docs/Api/CountryApi.md#getsalestaxjurisdictions) | **GET** /country/{countryCode}/sales_tax_jurisdiction | \n*MarketplaceApi* | [**getAutomotivePartsCompatibilityPolicies**](docs/Api/MarketplaceApi.md#getautomotivepartscompatibilitypolicies) | **GET** /marketplace/{marketplace_id}/get_automotive_parts_compatibility_policies | \n*MarketplaceApi* | [**getItemConditionPolicies**](docs/Api/MarketplaceApi.md#getitemconditionpolicies) | **GET** /marketplace/{marketplace_id}/get_item_condition_policies | \n*MarketplaceApi* | [**getListingStructurePolicies**](docs/Api/MarketplaceApi.md#getlistingstructurepolicies) | **GET** /marketplace/{marketplace_id}/get_listing_structure_policies | \n*MarketplaceApi* | [**getNegotiatedPricePolicies**](docs/Api/MarketplaceApi.md#getnegotiatedpricepolicies) | **GET** /marketplace/{marketplace_id}/get_negotiated_price_policies | \n*MarketplaceApi* | [**getProductAdoptionPolicies**](docs/Api/MarketplaceApi.md#getproductadoptionpolicies) | **GET** /marketplace/{marketplace_id}/get_product_adoption_policies | \n*MarketplaceApi* | [**getReturnPolicies**](docs/Api/MarketplaceApi.md#getreturnpolicies) | **GET** /marketplace/{marketplace_id}/get_return_policies | \n\n## Models\n\n- [AutomotivePartsCompatibilityPolicy](docs/Model/AutomotivePartsCompatibilityPolicy.md)\n- [AutomotivePartsCompatibilityPolicyResponse](docs/Model/AutomotivePartsCompatibilityPolicyResponse.md)\n- [Error](docs/Model/Error.md)\n- [ErrorParameter](docs/Model/ErrorParameter.md)\n- [Exclusion](docs/Model/Exclusion.md)\n- [ItemCondition](docs/Model/ItemCondition.md)\n- [ItemConditionPolicy](docs/Model/ItemConditionPolicy.md)\n- [ItemConditionPolicyResponse](docs/Model/ItemConditionPolicyResponse.md)\n- [ListingStructurePolicy](docs/Model/ListingStructurePolicy.md)\n- [ListingStructurePolicyResponse](docs/Model/ListingStructurePolicyResponse.md)\n- [NegotiatedPricePolicy](docs/Model/NegotiatedPricePolicy.md)\n- [NegotiatedPricePolicyResponse](docs/Model/NegotiatedPricePolicyResponse.md)\n- [ProductAdoptionPolicy](docs/Model/ProductAdoptionPolicy.md)\n- [ProductAdoptionPolicyResponse](docs/Model/ProductAdoptionPolicyResponse.md)\n- [ReturnPolicy](docs/Model/ReturnPolicy.md)\n- [ReturnPolicyDetails](docs/Model/ReturnPolicyDetails.md)\n- [ReturnPolicyResponse](docs/Model/ReturnPolicyResponse.md)\n- [SalesTaxJurisdiction](docs/Model/SalesTaxJurisdiction.md)\n- [SalesTaxJurisdictions](docs/Model/SalesTaxJurisdictions.md)\n- [TimeDuration](docs/Model/TimeDuration.md)\n\n## Authorization\n\n### Authorization Code\n\n- **Type**: `OAuth`\n- **Flow**: `accessCode`\n- **Authorization URL**: `https://auth.ebay.com/oauth2/authorize`\n- **Scopes**: \n    - **https://api.ebay.com/oauth/api_scope/sell.inventory**: View and manage your inventory and offers\n\n\n### Client Credentials\n\n- **Type**: `OAuth`\n- **Flow**: `application`\n- **Authorization URL**: ``\n- **Scopes**: \n    - **https://api.ebay.com/oauth/api_scope**: View public data from eBay\n\n## Tests\n\nTo run the tests, use:\n\n```bash\ncomposer install\nvendor/bin/phpunit\n```\n\n## Author\n\n\n\n## About this package\n\nThis PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: `v1.4.1`\n    - Package version: `5.0.0`\n- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvps%2Febay-sell-metadata-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvps%2Febay-sell-metadata-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvps%2Febay-sell-metadata-php-client/lists"}