12-12-2024 02:16 PM
I would like my application to inform my employees about active listings that have not been revised in over 3 months. This will prompt them to re-evaluate the item and consider why the item has not yet sold. Is there a way to generate the time that an item was last updated using eBay's API?
12-22-2024 09:01 PM
@cartridge_man07 ArizonaAZDMVwrote:I would like my application to inform my employees about active listings that have not been revised in over 3 months. This will prompt them to re-evaluate the item and consider why the item has not yet sold. Is there a way to generate the time that an item was last updated using eBay's API?
The eBay Trading API's GetItem call provides the LastTimeModified field within the Item object, revealing the last modification timestamp for each listing. By retrieving this data for your active listings, calculating the time difference from the current time, and filtering for listings older than 3 months, you can identify those that haven't been updated recently. This information can then be used to generate reports or notifications to prompt your employees to review and potentially revise these listings.
05-14-2025 12:13 AM
Hello,
I am currently developing a Chrome extension that uses the eBay GetItem API to retrieve item information.
One of the main goals is to display the item's creation date and last modified date.
What I've tried so far and the current situation:
Creation Date (StartTime): I can successfully retrieve this from Item > StartTime in the GetItem API response.
Last Modified Date:
Initially, I tried to get it from an element named Item > LastTimeModified, but it was not found.
Next, I attempted to retrieve it from the path Item > ListingDetails > LastTimeModified. However, upon inspecting the API response XML, I found that in some cases, the ListingDetails element does not contain an element named LastTimeModified.
I am specifying DetailLevel as ReturnAll.
The API request headers are set with X-EBAY-API-COMPATIBILITY-LEVEL: 1399 (latest), X-EBAY-API-CALL-NAME: GetItem, X-EBAY-API-SITEID: 0, and the legitimate X-EBAY-API-APP-NAME (App ID), X-EBAY-API-DEV-NAME (Dev ID), and X-EBAY-API-CERT-NAME (Cert ID).
When testing with a specific ItemID, the ListingDetails included StartTime but no element corresponding to LastModifiedTime.
Questions:
Is there a recommended way to reliably get the "last modified date" of a listed item using the GetItem API?
Is the information corresponding to LastModifiedTime included within ListingDetails only under specific conditions (e.g., only if the item has actually been updated, or only for certain item categories)?
If it's not possible to get this directly via the GetItem API, are there any alternative API calls or approaches? (I am considering page scraping as a last resort due to concerns about terms of service and stability.)
but couldn't find a clear solution for obtaining this information via the GetItem API, which is why I'm asking again.
If anyone has any insights, I would greatly appreciate your guidance.
Thank you!