Find the answer to your question
Advanced Search
I am a developer and some of my users are no longer using my app. They were subscribed to platform notifications and the notifications are still being sent to my app. How do I unsubscribe to these ? Will the notifications be sent even if the token has expired?
In case the tokens are still active, you can unsubscribe to Platform Notifications by setting the ApplicationEnable to Disable in SetNotificationPreferences call.
Here's a sample request to disable notifications for a User Token:
<?xml version="1.0" encoding="utf-8"?>
<SetNotificationPreferencesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
<Version>697</Version>
<ApplicationDeliveryPreferences>
<ApplicationEnable>Disable</ApplicationEnable>
<DeviceType>Platform</DeviceType>
</ApplicationDeliveryPreferences>
</SetNotificationPreferencesRequest>
This will disable all notifications to the application. But the user preferences are preserved.
Note: If the token has expired and you are still receiving the notifications then please submit a support ticket through this link: eBay Support Tickets for assistance.
REF: How to subscribe to Platform Notifications