Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eBay 'Get Inventory Items' API NOT returning items

Tags:

ebay-api

I am trying to call this API with my eBay user auth token on the eBay API Explorer:

https://api.ebay.com/sell/inventory/v1/inventory_item

The Headers:

Authorization:Bearer [MY_EBAY_SELLER_USER_TOKEN]    
Accept:application/json
Content-Type:application/json

Now I'm receiving this in response:

{
  "total": 0,
  "size": 0
}

Now I definitely have some items listed for sale and they are showing up on eBay. I also made sure that I am in production mode and that my auth token is also a production token.

What's going on with you eBay??? See image below:

enter image description here

like image 582
etayluz Avatar asked Mar 17 '17 05:03

etayluz


1 Answers

So it turns out that eBay's Inventory API is fairly new. Only items created via the Inventory API's can be queried with the Inventory API. Total waste of time.

Just use eBay's Trading API:

http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/index.html

To list an item:

http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/AddItem.html http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/AddFixedPriceItem.html

To revise an item:

http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseFixedPriceItem.html

http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseItem.html

To revise price or quantity of item:

http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/ReviseInventoryStatus.html

Stupid eBay. All the quality engineers must have left to go work for Google or Apple. No support for json - still using tech from the 1990's

like image 99
etayluz Avatar answered Nov 14 '22 07:11

etayluz