Skip to main content
Published: April 10 2007, 12:29:00 PMUpdated: September 01 2022, 2:44:41 AM

If a user changes the eBay UserID, how does it affect the API calls?


When a UserID is changed, the Old UserID is available for the next 30 days.  If you make calls with the old UserID, the calls will return the response correctly, as if you had sent in the new UserID for the 30 day time period.  After that, you need to use the new UserID. 


Detailed Description

For instance, if you make a call to GetUser with the Old UserID, you will get back the new UserID in the response.  Here is an example:


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

<GetUserRequest xmlns="urn:ebay:apis:eBLBaseComponents">







Relevant portion of the Response:

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

<GetUserResponse xmlns="urn:ebay:apis:eBLBaseComponents">








    <Email>Invalid Request</Email>






















From the above sample, we see that the API call responses will return the new UserID.  You can use the EIASToken, which  remains constant, to associate this UserID with the Old UserID.  This leads us to the best practice that you should not use the eBay UserID as your primary key in your database, instead use your own unique numeric id.   

There is no API call to return the eBay Member User ID History like the site does, instead the API makes EIASToken available.   


Additional Resources


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

Got thoughts? Click the feedback button – your insights help us improve!