Skip to main content
Published: August 20 2007, 4:40:00 PMUpdated: November 28 2020, 3:52:34 PM

Can I change  Platform Notification callback URL to point to a new server?

Detailed Description

    You can make SetNotificationPreferences call as below  to point your notification listener to a different URL.   You do not need to do anything else , all the notification events that users have subscribed through your Application will be automatically associated to the new notification listener URL you have specified.

<?xml version="1.0" encoding="utf-8" ?>

  <SetNotificationPreferencesRequestxmlns="urn:ebay:apis:eBLBaseComponents">
  <Version>525</Version>
   <RequesterCredentials>
   <eBayAuthToken>*****</eBayAuthToken>
  </RequesterCredentials>
   <ApplicationDeliveryPreferences>
  <ApplicationURL>https://newNotificationListernServer</ApplicationURL>
  <ApplicationEnable>Enable</ApplicationEnable>
  </ApplicationDeliveryPreferences>
  </SetNotificationPreferencesRequest>
 
    Keep in mind that the application callback URL  is specific to a given application, so that Application Level Subscription and User Level Suscribtion must  be associated with the same Developer Keys. When you make SetNotificationPreferences  call you need to make sure :
    The token used in SetNotificationPreferences request for setting notification URL must be generated from the same Application keys ( AppID, DevID and CertID), the keys that used to make User level suscription .  Mixup keys and tokens would lead to a confusing issue.

How well did this answer your question?
Answers others found helpful