User Manual
Chapter 1:  Using the REST API  7
Obtaining Tokens and Testing Calls
  Version 3.7
Specifying International Sites
To specify a site other than the US site (which is site 0) in your call, include a SiteId parameter for the 
site and, for GetSearchResults, the 
SearchLocationFilter.SearchLocation.SiteLocation.SiteID 
parameter. The 
SiteId parameter is case sensitive.
For example, to search for items listed on the Germany site, you could specify the following:
http://rest.api.ebay.com/
restapi?CallName=GetSearchResults&RequestToken=UserToken&RequestUserId=UserName&Query=toy
%20boat&Version=491&UnifiedInput=1&SiteId=77&SearchLocationFilter.SearchLocation.SiteLocation.Sit
eID=SiteImplied
Please see the “Field Differences for eBay Sites” topic in the unified schema documentation for 
additional information about international sites, including the values to use in the 
SiteId parameter: 
http://developer.ebay.com/DevZone/XML/docs/WebHelp/
index.htm?context=eBay_XML_API&topic=FieldDifferences
Obtaining Tokens and Testing Calls
This section of the REST API Guide contains the following subsections:
“Obtaining a REST Token for the Sandbox” on page 8
“Using the REST API in Production” on page 8
“Testing REST Calls Using a Browser” on page 9
TrackingID N String Specifies an ID to identify you to your tracking partner 
(tracking provider). 
The value you specify is obtained from your tracking partner. 
For example, in the case of Commission Junction, the 
TrackingID is the PID given to you by Commission Junction.
AffiliateUserID N String Optional value that depends on your tracking partner (tracking 
provider). 
For example, if you specify a TrackingPartnerCode of 1 for 
Commission Junction, the AffiliateUserID is your 
Commission Junction Shopper ID (SID). 
Table 1-2 Parameters for Affiliate Tracking
Parameter Required? Data Type Purpose










