使用 eBay 获取所有卖家交易 api

Get all seller transactions using eBay api

如何获取卖家在eBay上的所有商品和交易记录。我可以使用以下代码成功接收过去 10 天的所有交易明细:

// Getting sold items
var durationSpecifiedeBaySellingCall = new GetMyeBaySellingCall(apiContext)
{
    SoldList = new ItemListCustomizationType
    {
        DurationInDays = 10,
        DurationInDaysSpecified = true,
        Include = true
    },

    DetailLevelList = new DetailLevelCodeTypeCollection
    {
        DetailLevelCodeType.ReturnAll
    }
};
durationSpecifiedeBaySellingCall.Execute();

但我无法收到过去 10 年的所有交易,例如,当将 DurationInDays 的值替换为 3650 而不是 10 时。durationSpecifiedeBaySellingCall.SoldListReturn 为空。如何正确获取所有用户交易的列表?

看起来您正在使用 GetMyeBaySelling API 调用,文档指出您最多只能提取 60 天。

eBay Documentation GetMyeBaySelling