Download the PHP package sapientpro/ebay-account-sdk-php without Composer

On this page you can find all versions of the php package sapientpro/ebay-account-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ebay-account-sdk-php

Ebay Account API SDK for PHP

The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.

For details on the availability of the methods in this API, see <a href=\"/api-docs/sell/account/overview.html#requirements\">Account API requirements and restrictions.

This PHP package is automatically generated by the Swagger Codegen project:

Requirements

Installation & Usage

Install the package using composer:

Example usage

Please follow the installation procedure and then run the following:

Creating Models

Some SDK methods require $body variable as a parameter. It refers to a Model class that implements EbayModelInterface. There are several ways to create a Model class:

fromArray()

You can create a Model class using fromArray() method. It will throw an exception if a property does not exist in the model class.

If the model has a property of type that implements EbayModelInterface, you must create an instance of that class using fromArray() method. In this example, the property price is of type ConvertedAmount that also implements EbayModelInterface.

fromPlainArray()

It is also possible to create a Model from plain associative array. The previous example can be rewritten as follows:

fromJson()

It is also possible to create a Model from JSON string.

Documentation for API Endpoints

All URIs are relative to https://api.ebay.com/sell/account/v1

Class Method HTTP request Description
CustomPolicyApi createCustomPolicy POST /custom_policy/
CustomPolicyApi getCustomPolicies GET /custom_policy/
CustomPolicyApi getCustomPolicy GET /custom_policy/{custom_policy_id}
CustomPolicyApi updateCustomPolicy PUT /custom_policy/{custom_policy_id}
FulfillmentPolicyApi createFulfillmentPolicy POST /fulfillment_policy/
FulfillmentPolicyApi deleteFulfillmentPolicy DELETE /fulfillment_policy/{fulfillmentPolicyId}
FulfillmentPolicyApi getFulfillmentPolicies GET /fulfillment_policy
FulfillmentPolicyApi getFulfillmentPolicy GET /fulfillment_policy/{fulfillmentPolicyId}
FulfillmentPolicyApi getFulfillmentPolicyByName GET /fulfillment_policy/get_by_policy_name
FulfillmentPolicyApi updateFulfillmentPolicy PUT /fulfillment_policy/{fulfillmentPolicyId}
KycApi getKYC GET /kyc
OnboardingApi getPaymentsProgramOnboarding GET /payments_program/{marketplace_id}/{payments_program_type}/onboarding
PaymentPolicyApi createPaymentPolicy POST /payment_policy
PaymentPolicyApi deletePaymentPolicy DELETE /payment_policy/{payment_policy_id}
PaymentPolicyApi getPaymentPolicies GET /payment_policy
PaymentPolicyApi getPaymentPolicy GET /payment_policy/{payment_policy_id}
PaymentPolicyApi getPaymentPolicyByName GET /payment_policy/get_by_policy_name
PaymentPolicyApi updatePaymentPolicy PUT /payment_policy/{payment_policy_id}
PaymentsProgramApi getPaymentsProgram GET /payments_program/{marketplace_id}/{payments_program_type}
PrivilegeApi getPrivileges GET /privilege
ProgramApi getOptedInPrograms GET /program/get_opted_in_programs
ProgramApi optInToProgram POST /program/opt_in
ProgramApi optOutOfProgram POST /program/opt_out
RateTableApi getRateTables GET /rate_table
ReturnPolicyApi createReturnPolicy POST /return_policy
ReturnPolicyApi deleteReturnPolicy DELETE /return_policy/{return_policy_id}
ReturnPolicyApi getReturnPolicies GET /return_policy
ReturnPolicyApi getReturnPolicy GET /return_policy/{return_policy_id}
ReturnPolicyApi getReturnPolicyByName GET /return_policy/get_by_policy_name
ReturnPolicyApi updateReturnPolicy PUT /return_policy/{return_policy_id}
SalesTaxApi createOrReplaceSalesTax PUT /sales_tax/{countryCode}/{jurisdictionId}
SalesTaxApi deleteSalesTax DELETE /sales_tax/{countryCode}/{jurisdictionId}
SalesTaxApi getSalesTax GET /sales_tax/{countryCode}/{jurisdictionId}
SalesTaxApi getSalesTaxes GET /sales_tax

Documentation For Models

Documentation For Authorization

api_auth

Author

Swagger Codegen team and SapientPro


All versions of ebay-account-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
symfony/serializer Version ^6.2
symfony/property-access Version ^6.2
phpdocumentor/reflection-docblock Version ^5.3
symfony/validator Version ^6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sapientpro/ebay-account-sdk-php contains the following files

Loading the files please wait ....