Skip to main content
Published: August 20 2007, 4:40:00 PMUpdated: August 03 2022, 5:14:13 PM

Question

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

Answer

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>1123</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