07-11-2023 09:51 AM - edited 07-11-2023 09:53 AM
I have not been able to make platform notifications work. Hoping someone here can help me out.
I've invoked SetNotificationPreferences with ApplicationEnable and ApplicationURL set. The API call succeeds, and when I invoke GetNotificationPreferences, everything looks correct:
// PreferenceLevel: "Application"
{ "Timestamp": "2023-07-11T16:37:31.252Z", "Ack": "Success", "Version": "1173", "Build": "E1173_CORE_APINOTIFY_19146596_R1", "ApplicationDeliveryPreferences": { "ApplicationURL": "[my url]", "ApplicationEnable": "Enable", "AlertEmail": "mailto://[my email]", "AlertEnable": "Enable", "NotificationPayloadType": "eBLSchemaSOAP", "DeviceType": "Platform", "PayloadEncodingType": "SOAP", "PayloadVersion": "941" } }
// PreferenceLevel: "User"
{ "Timestamp": "2023-07-11T16:37:31.560Z", "Ack": "Success", "Version": "1173", "Build": "E1173_CORE_APINOTIFY_19146596_R1", "UserDeliveryPreferenceArray": { "NotificationEnable": [ { "EventType": "FixedPriceTransaction", "EventEnable": "Enable" }, { "EventType": "ItemListed", "EventEnable": "Enable" }, { "EventType": "ItemRevised", "EventEnable": "Enable" }, { "EventType": "ItemSold", "EventEnable": "Enable" },
{ "EventType": "ItemSuspended", "EventEnable": "Enable" }, { "EventType": "ItemClosed", "EventEnable": "Enable" }, { "EventType": "ItemUnsold", "EventEnable": "Enable" }, ] } }
The API docs say that a third-party application will only receive notifications for listings that are created or revised by that application. So I've called ReviseItem on a listing, updating various properties including title, and that call succeeds as well. But from there, if I revise or close the listing from the website, I do not receive any notifications.
When I call GetNotificationsUsage, I don't see any signs that notification attempts are being made:
{
"Timestamp": "2023-07-11T16:46:13.093Z",
"Ack": "Success",
"Version": "1173",
"Build": "E1173_CORE_APINOTIFY_19146596_R1",
"StartTime": "2023-07-09T16:46:12.000Z",
"EndTime": "2023-07-11T16:46:12.000Z",
"MarkUpMarkDownHistory": null,
"NotificationStatistics": {
"DeliveredCount": "0",
"QueuedNewCount": "0",
"QueuedPendingCount": "0",
"ExpiredCount": "0",
"ErrorCount": "0"
}
}
I've tried with a couple different eBay accounts, and I've granted all the OAuth scopes that seem potentially relevant, and still no luck.
I found a forum post from earlier this year that suggests platform notifications and the ItemRevised notification in particular were working back then. I feel I still must be missing something. Can anyone offer any guidance?
07-23-2023 08:37 PM
I also encountered the same problem. Have you solved it?