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:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With