易趣'获取库存物品' API不返回项

时间:2017-03-17 05:18:10

标签: ebay-api

我试图在eBay API Explorer上使用我的eBay用户身份验证令牌调用此API:

  

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

标题:

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

现在我收到了回复:

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

现在我肯定有一些待售物品,它们出现在eBay上。我还确保我处于生产模式,并且我的身份验证令牌也是生产令牌。

你和eBay有什么关系?见下图:

enter image description here

1 个答案:

答案 0 :(得分:7)

事实证明,eBay的库存API是相当新的。 只能使用Inventory API查询通过Inventory API创建的项目。浪费时间。

只需使用易趣的交易API:

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

列出项目:

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

修改项目:

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

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

修改物品的价格或数量:

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

愚蠢的易趣。所有质量工程师都必须离开去为Google或Apple工作。不支持json - 仍然使用1990年代的技术

相关问题