Developers Program

GetPublicAlerts does not return all the PriceChange events

Published: June 13 2014, 6:08:00 AMยทUpdated: September 07 2022, 1:04:05 PM

Products

Question

Why am I not getting all PriceChange events for an item using GetPublicAlerts API call?

Answer

The Client Alerts server begins storing alerts for an item only when a GetPublicAlerts call is made for that item. You won't get PriceChange events happened before your first GetPublicAlerts API call for that item. Any subsequent call to GetPublicAlerts would return events that happened after your first GetPublicAlerts call for the specified item.

How well did this answer your question?