| http://developer.ebay.com/DevZone/XML/docs/WebHelp/ManagingItemListings-Working_with_Seller_Events.html | |
| Managing Listed Items > Managing Item Listings > Working with Seller Events | |
Working with Seller Events
To retrieve a list of a seller's items for which seller events have occurred, use GetSellerEvents.
To specify a seller, use the eBay user ID for the seller. If the eBay user ID is not specified, seller events are retrieved for the seller identified by the authentication token.
You can use the following time-based filters to reduce the number of events returned: ModTimeFrom, ModTimeTo, EndTimeFrom, EndTimeTo, StartTimeFrom, and StartTimeTo. For example, to retrieve only events for items that were modified during a specific time period, you can use ModTimeFrom and ModTimeTo. Best Practices are described in the following Knowledge Base article:
Best Practices for GetSellerEvents and GetSellerTransactionsAt least one of the following must be specified: ModTimeFrom, EndTimeFrom, or StartTimeFrom. Time-based filters can work in pairs (e.g., ModTimeFrom and ModTimeTo). If you do not specify the "To" filter, it is set to the time you make the call. For better results, the time period you use should be less than 48 hours.
The seller's user ID and filtering are specified for the call using the following properties.
The data returned by GetSellerEvents contains information about the items that fit your input filters. One
ItemTypeobject is returned for each item. See the schema documentation forItemArrayTypeandItemTypefor a complete list of their properties.
Your application traverses the returned array for the data in each
ItemTypeobject. You can compare each object to data previously returned. For example, an application could compare returned data with the data stored in a database table. If the item's current price had changed (such as for progressive bidding in a Chinese auction), your comparison would reveal the change.Some baseline set of data is needed to determine what item values changed as this is not indicated in the property values of the returned
ItemTypeobjects. TheItemTypeobjects hold only current values, as of the last change to the item. For some purposes, the data values returned are of value (such as seeing the current price of a competitive-bidding listing) without comparing the values to an older set of values. Many sellers wish to be able to make this determination to not only see what the current values are, but what the old values were before the seller event. To do that the application must store the returned values for a given item (such as to a database table) on each GetSellerEvents. Subsequent executions of GetSellerEvents (using incrementally later date ranges) can then use this historical data in comparison with the newly returned data to highlight the changes.
| Managing Listed Items > Managing Item Listings > Working with Seller Events | |
| http://developer.ebay.com/DevZone/XML/docs/WebHelp/ManagingItemListings-Working_with_Seller_Events.html | |
| © 2004–2008 eBay Inc. All rights reserved. | Version 595 |