{"id":18624556,"url":"https://github.com/zvps/ebay-sell-fulfillment-php-client","last_synced_at":"2025-10-18T19:30:09.220Z","repository":{"id":57092322,"uuid":"383441055","full_name":"zVPS/ebay-sell-fulfillment-php-client","owner":"zVPS","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-30T16:33:05.000Z","size":215,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T05:41:43.794Z","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:14:51.000Z","updated_at":"2021-07-30T16:33:09.000Z","dependencies_parsed_at":"2022-08-22T21:40:14.189Z","dependency_job_id":null,"html_url":"https://github.com/zVPS/ebay-sell-fulfillment-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-fulfillment-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-fulfillment-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-fulfillment-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zVPS%2Febay-sell-fulfillment-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zVPS","download_url":"https://codeload.github.com/zVPS/ebay-sell-fulfillment-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:29.690Z","updated_at":"2025-10-18T19:30:09.115Z","avatar_url":"https://github.com/zVPS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAPIClient-php\n\nUse the Fulfillment API to complete the process of packaging, addressing, handling, and shipping each order on behalf of the seller, in accordance with the payment method and timing specified at checkout.\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-fulfillment-php-client.git\"\n    }\n  ],\n  \"require\": {\n    \"zvps/ebay-sell-fulfillment-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: Authorization Code\n$config = Ebay\\Sell\\Fulfillment\\Configuration::getDefaultConfiguration()-\u003esetAccessToken('YOUR_ACCESS_TOKEN');\n\n\n$apiInstance = new Ebay\\Sell\\Fulfillment\\Api\\OrderApi(\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$order_id = 'order_id_example'; // string | The unique identifier of the order. Order ID values are shown in My eBay/Seller Hub, and are also returned by the getOrders method in the orders.orderId field. Note: A new order ID format was introduced to all eBay APIs (legacy and REST) in June 2019. In REST APIs that return Order IDs, including the Fulfillment API, all order IDs are returned in the new format, but the getOrder method will accept both the legacy and new format order ID. The new format is a non-parsable string, globally unique across all eBay marketplaces, and consistent for both single line item and multiple line item orders. These order identifiers will be automatically generated after buyer payment, and unlike in the past, instead of just being known and exposed to the seller, these unique order identifiers will also be known and used/referenced by the buyer and eBay customer support.\n$field_groups = 'field_groups_example'; // string | The response type associated with the order. The only presently supported value is TAX_BREAKDOWN. This type returns a breakdown of tax and fee values associated with the order.\n\ntry {\n    $result = $apiInstance-\u003egetOrder($order_id, $field_groups);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling OrderApi-\u003egetOrder: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.ebay.com/sell/fulfillment/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*OrderApi* | [**getOrder**](docs/Api/OrderApi.md#getorder) | **GET** /order/{orderId} | \n*OrderApi* | [**getOrders**](docs/Api/OrderApi.md#getorders) | **GET** /order | \n*OrderApi* | [**issueRefund**](docs/Api/OrderApi.md#issuerefund) | **POST** /order/{order_id}/issue_refund | Issue Refund\n*ShippingFulfillmentApi* | [**createShippingFulfillment**](docs/Api/ShippingFulfillmentApi.md#createshippingfulfillment) | **POST** /order/{orderId}/shipping_fulfillment | \n*ShippingFulfillmentApi* | [**getShippingFulfillment**](docs/Api/ShippingFulfillmentApi.md#getshippingfulfillment) | **GET** /order/{orderId}/shipping_fulfillment/{fulfillmentId} | \n*ShippingFulfillmentApi* | [**getShippingFulfillments**](docs/Api/ShippingFulfillmentApi.md#getshippingfulfillments) | **GET** /order/{orderId}/shipping_fulfillment | \n\n## Models\n\n- [Address](docs/Model/Address.md)\n- [Amount](docs/Model/Amount.md)\n- [AppliedPromotion](docs/Model/AppliedPromotion.md)\n- [Buyer](docs/Model/Buyer.md)\n- [CancelRequest](docs/Model/CancelRequest.md)\n- [CancelStatus](docs/Model/CancelStatus.md)\n- [DeliveryCost](docs/Model/DeliveryCost.md)\n- [EbayCollectAndRemitTax](docs/Model/EbayCollectAndRemitTax.md)\n- [EbayFulfillmentProgram](docs/Model/EbayFulfillmentProgram.md)\n- [EbayTaxReference](docs/Model/EbayTaxReference.md)\n- [Error](docs/Model/Error.md)\n- [ErrorParameter](docs/Model/ErrorParameter.md)\n- [ExtendedContact](docs/Model/ExtendedContact.md)\n- [FulfillmentStartInstruction](docs/Model/FulfillmentStartInstruction.md)\n- [GiftDetails](docs/Model/GiftDetails.md)\n- [IssueRefundRequest](docs/Model/IssueRefundRequest.md)\n- [ItemLocation](docs/Model/ItemLocation.md)\n- [LegacyReference](docs/Model/LegacyReference.md)\n- [LineItem](docs/Model/LineItem.md)\n- [LineItemFulfillmentInstructions](docs/Model/LineItemFulfillmentInstructions.md)\n- [LineItemProperties](docs/Model/LineItemProperties.md)\n- [LineItemReference](docs/Model/LineItemReference.md)\n- [LineItemRefund](docs/Model/LineItemRefund.md)\n- [Order](docs/Model/Order.md)\n- [OrderRefund](docs/Model/OrderRefund.md)\n- [OrderSearchPagedCollection](docs/Model/OrderSearchPagedCollection.md)\n- [Payment](docs/Model/Payment.md)\n- [PaymentHold](docs/Model/PaymentHold.md)\n- [PaymentSummary](docs/Model/PaymentSummary.md)\n- [PhoneNumber](docs/Model/PhoneNumber.md)\n- [PickupStep](docs/Model/PickupStep.md)\n- [PostSaleAuthenticationProgram](docs/Model/PostSaleAuthenticationProgram.md)\n- [PricingSummary](docs/Model/PricingSummary.md)\n- [Program](docs/Model/Program.md)\n- [Refund](docs/Model/Refund.md)\n- [RefundItem](docs/Model/RefundItem.md)\n- [SellerActionsToRelease](docs/Model/SellerActionsToRelease.md)\n- [ShippingFulfillment](docs/Model/ShippingFulfillment.md)\n- [ShippingFulfillmentDetails](docs/Model/ShippingFulfillmentDetails.md)\n- [ShippingFulfillmentPagedCollection](docs/Model/ShippingFulfillmentPagedCollection.md)\n- [ShippingStep](docs/Model/ShippingStep.md)\n- [SimpleAmount](docs/Model/SimpleAmount.md)\n- [Tax](docs/Model/Tax.md)\n- [TaxAddress](docs/Model/TaxAddress.md)\n- [TaxIdentifier](docs/Model/TaxIdentifier.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.fulfillment**: View and manage your order fulfillments\n    - **https://api.ebay.com/oauth/api_scope/sell.finances**: View and manage your payment and order information to display this information to you and allow you to initiate refunds using the third party application\n    - **https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly**: View your order fulfillments\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.19.7`\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-fulfillment-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvps%2Febay-sell-fulfillment-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvps%2Febay-sell-fulfillment-php-client/lists"}