For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

UserID inTrading API requests

  • Answer ID 103
  • Published 06/14/2004 11:51 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=103
Product
Do I need the Userid to make Trading API requests?
The Username property of the requester credentials is not needed for authentication purposes when a Request Token is used.

Some API calls refer to a particular user, such as GetUser, GetSellerEvents, GetSellerList, GetBidderList and GetFeedback. For these calls, a <UserID> property of the request object represents the user who's data is referred to in the call. If the <UserID> tag is omitted, eBay implicitly uses the user represented by the Request Token.

For example, the GetUser request below specifies a UserID property in the request object. Regardless of which user's token is used, this call will return user data for "tuser1". If "tuser1" was not specified, user data would be returned for the user represented by the eBayAuthToken property.

<?xml version="1.0" encoding="utf-8"?>
<GetUserRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Version>551</Version>
<UserID>tuser1</UserID>
<RequesterCredentials>
<eBayAuthToken>**********</eBayAuthToken>
</RequesterCredentials>
</GetUserRequest>

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter