Find the answer to your question
Advanced Search
How can I get a list of all my active items and items that ended?
Detailed Description
Getting a list of active items:
Trading API: GetSellerList
This option is recommended if the seller has a small volume of items.
Make a call to GetSellerList with the EndTime filter starting from current time plus a sec to month out in the future.
Here is a sample request where the current time is 2009-08-19T18:10:37.204Z:
<?xml version="1.0" encoding="utf-8"?>
<GetSellerListRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<EndTimeFrom>2009-08-19T18:10:38.204Z</EndTimeFrom>
<EndTimeTo>2009-09-19T18:10:38.204Z</EndTimeTo>
<Pagination>
<PageNumber>1</PageNumber>
<EntriesPerPage>200</EntriesPerPage>
</Pagination>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</GetSellerListRequest>
If there are more than 200 items, then the HasMoreEntries in the response is true. In that case, increase the PageNumber by 1 and continue making the call till HasMoreEntries is false.
Note: The current eBay time can be obtained using GeteBayOfficialTime.
Getting a list of ended items:
Make the call to GetSellerList everyday (or weekly or whatever frequency is appropriate), with the EndTime filter starting with required frequency days from current time, to current time. Here is a sample request for a call that is made every day:
<?xml version="1.0" encoding="utf-8"?>
<GetSellerListRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<EndTimeFrom>2009-08-18T18:10:37.204Z</EndTimeFrom>
<EndTimeTo>2009-08-19T18:10:37.204Z</EndTimeTo>
<Pagination>
<PageNumber>1</PageNumber>
<EntriesPerPage>200</EntriesPerPage>
</Pagination>
<RequesterCredentials>
<eBayAuthToken>*****</eBayAuthToken>
</RequesterCredentials>
</GetSellerListRequest>
How well did this answer your question?
Answers others found helpful
- Using GetSellerList to retreve a seller's items that were not listed in the certain categories in Java SDK
- How does GetSellerList filter Stores Items when using the End-Time filters?
- How can I get a list of my active items?
- Uploading and Managing eBay Listings using FileExchange
- Using ReviseItem to change the Description of an Item