Home
Find the answer to your question
Why am I missing some transactions even though I am making calls to GetSellerTransactions at a regular interval?
Detailed Description
Here are a few recommendations to ensure that you get all of your transactions:
Starting Point |
Assumptions:
1. Users asks for 3 transactions per page and all of these transactions are for one item so we'll skip the ItemID illustration
2. User asks for transactions modified between 2022-09-01T23:40:00.000Z and 2022-09-01T23:50:00.000Z
This is how the tranasctions are designed to be returned:
Page Number | TransactionID | LastModifiedTime |
1 | 1010 | 2022-09-01T23:50:00.000Z |
1009 | 2022-09-01T23:49:00.000Z | |
1008 | 2022-09-01T23:48:00.000Z | |
2 | 1007 | 2022-09-01T23:47:00.000Z |
1006 | 2022-09-01T23:46:00.000Z | |
1005 | 2022-09-01T23:45:00.000Z | |
3 | 1004 | 2022-09-01T23:44:00.000Z |
1003 | 2022-09-01T23:43:00.000Z | |
1002 | 2022-09-01T23:42:00.000Z |
How does a change affect transactions |
While the user is in the process of retrieving page2, they make an edit to TransactionID 1008 using CompleteSale to set the shipment tracking number . The last modified time changes to current time, let's say 2022-09-01T23:51:00.000Z.
Since the last modified time for 1008 changed, it is now outside of the users time range, and hence falls off the list. The new position of the records is as below:
Page Number | TransactionID | LastModifiedTime |
1 | 1010 | 2022-09-01T23:50:00.000Z |
1009 | 2022-09-01T23:49:00.000Z | |
|
| |
2 |
|
|
|
| |
|
| |
3 |
|
|
|
| |
|
|
Since the user had already retrieved page 2, they'll move on to page 3.
The effect is the same when you use GetOrders with the ModTime as your filter. If you modify orders while you are in the process of retrieving them, just as in the case of transactions for GetSellerTransactions.
Additional Information
Documentation:
https://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetSellerTransactions.html
https://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetOrders.html