skip to Main Content

I have a problem with missing orders. When I call GetSellerTransactions I get all orders. When I call GetOrders with the same request (only the root-node’s name is different), some of the (valid!) Orders are missing. I am aware of this. My rev is 801. I Tried this with various revisions > 705.

<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <RequesterCredentials>
        <eBayAuthToken>[...]</eBayAuthToken>
    </RequesterCredentials>
    <ErrorLanguage>de_DE</ErrorLanguage>
    <DetailLevel>ReturnAll</DetailLevel>
    <WarningLevel>High</WarningLevel>
    <ModTimeFrom>2012-12-06T09:00:00+01:00</ModTimeFrom>
    <ModTimeTo>2012-12-06T12:00:00+01:00</ModTimeTo>
    <Pagination>
        <EntriesPerPage>50</EntriesPerPage>
        <PageNumber>1</PageNumber>
    </Pagination>
</GetOrdersRequest>

Is there some spell to cast to get all orders (transactions) via GetOrders?

3

Answers


  1. Chosen as BEST ANSWER

    It's been some time since I asked this question, so I give a little Update.

    Nowadays, the call works as "expected". May be I was on a broken revision or something, but the very same code as back in 2012 now works (checked it out from a version control system and tested again) - with the same revision number, but different orders.

    I randomy mark another answer as "correct".


  2. I don’t see any OrderStatus field in your xml, you should pass this value either on Active and Completed to retrieve paid order (completed) as well as not paid (active) orders.

    You can check on ebay documentation here:

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

    I would also add to request OrderRole field set to Seller (so you can filter purchased from sold items)

    To my experience i felt more confortable using NumberOfDays instead of ModTime filters wich doesn’t make me deal with date/time format at all.

    I hope this can help.

    Login or Signup to reply.
  3. Are you also aware, that GetOrders also returns only 100 orders in one call and that you have to use the pagination attribute correctly, as described here: Ebay GetOrders API call does not return orders as per the request

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search