Download the PHP package amorvan/ebay-inventory-sdk-php without Composer

On this page you can find all versions of the php package amorvan/ebay-inventory-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-inventory-sdk-php

Ebay Inventory API SDK for PHP

The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay marketplace. There are also methods in this API that will convert eligible, active eBay listings into the Inventory API model.

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

Requirements

Installation & Usage

Install the package using composer:

Getting Started

Please follow the installation procedure and then run the following:

Note: Some methods require $contentLanguage argument. It's value should be of string type and correspond to the LocaleEnum cases, but should be in kebab case: LocaleEnum::en_US -> 'en-US'

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/inventory/v1

Class Method HTTP request Description
InventoryItemApi bulkCreateOrReplaceInventoryItem POST /bulk_create_or_replace_inventory_item
InventoryItemApi bulkGetInventoryItem POST /bulk_get_inventory_item
InventoryItemApi bulkUpdatePriceQuantity POST /bulk_update_price_quantity
InventoryItemApi createOrReplaceInventoryItem PUT /inventory_item/{sku}
InventoryItemApi deleteInventoryItem DELETE /inventory_item/{sku}
InventoryItemApi getInventoryItem GET /inventory_item/{sku}
InventoryItemApi getInventoryItems GET /inventory_item
InventoryItemGroupApi createOrReplaceInventoryItemGroup PUT /inventory_item_group/{inventoryItemGroupKey}
InventoryItemGroupApi deleteInventoryItemGroup DELETE /inventory_item_group/{inventoryItemGroupKey}
InventoryItemGroupApi getInventoryItemGroup GET /inventory_item_group/{inventoryItemGroupKey}
ListingApi bulkMigrateListing POST /bulk_migrate_listing
LocationApi createInventoryLocation POST /location/{merchantLocationKey}
LocationApi deleteInventoryLocation DELETE /location/{merchantLocationKey}
LocationApi disableInventoryLocation POST /location/{merchantLocationKey}/disable
LocationApi enableInventoryLocation POST /location/{merchantLocationKey}/enable
LocationApi getInventoryLocation GET /location/{merchantLocationKey}
LocationApi getInventoryLocations GET /location
LocationApi updateInventoryLocation POST /location/{merchantLocationKey}/update_location_details
OfferApi bulkCreateOffer POST /bulk_create_offer
OfferApi bulkPublishOffer POST /bulk_publish_offer
OfferApi createOffer POST /offer
OfferApi deleteOffer DELETE /offer/{offerId}
OfferApi getListingFees POST /offer/get_listing_fees
OfferApi getOffer GET /offer/{offerId}
OfferApi getOffers GET /offer
OfferApi publishOffer POST /offer/{offerId}/publish/
OfferApi publishOfferByInventoryItemGroup POST /offer/publish_by_inventory_item_group/
OfferApi updateOffer PUT /offer/{offerId}
OfferApi withdrawOffer POST /offer/{offerId}/withdraw
OfferApi withdrawOfferByInventoryItemGroup POST /offer/withdraw_by_inventory_item_group
ProductCompatibilityApi createOrReplaceProductCompatibility PUT /inventory_item/{sku}/product_compatibility
ProductCompatibilityApi deleteProductCompatibility DELETE /inventory_item/{sku}/product_compatibility
ProductCompatibilityApi getProductCompatibility GET /inventory_item/{sku}/product_compatibility

Documentation For Models

Authorization

api_auth


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

PHP Build Version
Package Version
Requires php Version ^8.0
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
symfony/serializer Version ^5.4
symfony/property-access Version ^5.4
phpdocumentor/reflection-docblock Version ^5.3
symfony/validator Version ^5.4
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 amorvan/ebay-inventory-sdk-php contains the following files

Loading the files please wait ....