简体   繁体   中英

Get all seller transactions using eBay api

How to get all items and transactions made by the seller on eBay for all time. I can successfully receive all transaction details for the past 10 days using the following code:

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

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

but I'm not able to receive all transactions for the past 10 years, for example, when replace the value of DurationInDays with 3650 instead of 10. durationSpecifiedeBaySellingCall.SoldListReturn is null. How can I properly get the list of all user transactions?

It looks like you are using the GetMyeBaySelling API call, the documentation states that you can only pull a Max of 60 Days.

eBay Documentation GetMyeBaySelling

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM