{"id":19215472,"url":"https://github.com/michabbb/sdk-ebay-rest-postorder","last_synced_at":"2026-06-25T14:30:21.971Z","repository":{"id":217883567,"uuid":"745013401","full_name":"michabbb/sdk-ebay-rest-postorder","owner":"michabbb","description":"A PHP SDK for the eBay Post-Order API","archived":false,"fork":false,"pushed_at":"2024-01-18T19:14:02.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T02:26:11.624Z","etag":null,"topics":["api","ebay","php","post-order","rest"],"latest_commit_sha":null,"homepage":"https://developer.ebay.com/devzone/post-order/index.html","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/michabbb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-18T13:20:33.000Z","updated_at":"2024-04-01T02:40:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb9e896b-cda5-4d9c-9fac-1eb5427a6447","html_url":"https://github.com/michabbb/sdk-ebay-rest-postorder","commit_stats":null,"previous_names":["michabbb/sdk-ebay-rest-postorder"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fsdk-ebay-rest-postorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fsdk-ebay-rest-postorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fsdk-ebay-rest-postorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fsdk-ebay-rest-postorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michabbb","download_url":"https://codeload.github.com/michabbb/sdk-ebay-rest-postorder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240289961,"owners_count":19777978,"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":["api","ebay","php","post-order","rest"],"created_at":"2024-11-09T14:13:47.522Z","updated_at":"2026-06-25T14:30:21.907Z","avatar_url":"https://github.com/michabbb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdk-ebay-rest-postorder\n\nAPI for searching eBay order cancellations.\n\n## Created with\n```bash\ndocker run --rm -v ${PWD}:/app openapitools/openapi-generator-cli:v7.2.0 generate -i /app/ebay_post_order_api_openpai.json -g php -o /app  --config /app/openapi-config.php.ebay.postorder.json\n```\nBecause eBay does not provide an OpenAPI Specification File, I created one for myself: `ebay_post_order_api_openpai.json`  \nSo if you need more endpoints, feel free to provide an PR with an updated OpenAPI Specification File.\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 7.4 and later.\nShould also work with PHP 8.0.\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.com/macropage/sdk-ebay-rest-postorder.git\"\n    }\n  ],\n  \"require\": {\n    \"macropage/sdk-ebay-rest-postorder\": \"*@dev\"\n  }\n}\n```\nThen run `composer install`\n\nOR\n\n`composer require macropage/sdk-ebay-rest-postorder`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/sdk-ebay-rest-postorder/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// @see https://developer.ebay.com/devzone/post-order/concepts/MakingACall.html\n$config = new \\macropage\\SDKs\\ebay\\rest\\postorder\\Configuration();\n$config-\u003esetAccessToken('TOKEN xxxxxxxxxxxxxx');\n$config-\u003esetMarketplaceId('EBAY_DE');\n\n$apiInstance = new macropage\\SDKs\\ebay\\rest\\postorder\\Api\\CancellationSearchApi(\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$cancelId = 'cancelId_example'; // string\n$creationDateRangeFrom = 'creationDateRangeFrom_example'; // string\n$creationDateRangeTo = 'creationDateRangeTo_example'; // string\n$itemId = 'itemId_example'; // string\n$legacyOrderId = 'legacyOrderId_example'; // string\n$limit = 'limit_example'; // string\n$offset = 'offset_example'; // string\n$role = 'role_example'; // string\n$sort = 'sort_example'; // string\n$transactionId = 'transactionId_example'; // string\n\ntry {\n    $result = $apiInstance-\u003esearchCancellations($cancelId, $creationDateRangeFrom, $creationDateRangeTo, $itemId, $legacyOrderId, $limit, $offset, $role, $sort, $transactionId);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling CancellationSearchApi-\u003esearchCancellations: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.ebay.com/post-order/v2*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*CancellationSearchApi* | [**searchCancellations**](docs/Api/CancellationSearchApi.md#searchcancellations) | **GET** /cancellation/search | Search for order cancellations\n\n## Models\n\n- [Amount](docs/Model/Amount.md)\n- [CancelSummary](docs/Model/CancelSummary.md)\n- [DateTime](docs/Model/DateTime.md)\n- [FindCancelResponse](docs/Model/FindCancelResponse.md)\n- [LineItem](docs/Model/LineItem.md)\n- [PaginationOutput](docs/Model/PaginationOutput.md)\n- [PayoutRecoupInfo](docs/Model/PayoutRecoupInfo.md)\n\n## Authorization\n\nAuthentication schemes defined for the API:\n### ApiKeyAuth\n\n- **Type**: API key\n- **API key parameter name**: Authorization\n- **Location**: HTTP header\n\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: `1.0.0`\n    - Package version: `1.9.0`\n- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichabbb%2Fsdk-ebay-rest-postorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichabbb%2Fsdk-ebay-rest-postorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichabbb%2Fsdk-ebay-rest-postorder/lists"}