Skip to main content
Published: April 06 2010, 1:54:00 PMUpdated: August 23 2022, 8:27:41 AM

How can I embed my affiliate tracking information in the viewItemURL returned by the FindItemsAdvanced call in the Finding API?

 

Summary

If you are making a HTTP Get request, you need to add the affiliate tracking parameters to the url.  If you make a HTTP POST request, then you can either add them to the server url or add them to your request headers.
 


Detailed Description

Remember you need to have an eBay Partner Network account to receive revenues. $point_to_epn Here is an example for an affiliate with eBay Partner Network as the tracking partner:

HTTP Get:

http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByCategory&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=YourAppID&affiliate.customId=1234567&affiliate.networkId=9&affiliate.trackingId=campid&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&categoryId=6000&paginationInput.entriesPerPage=2


XML Sample:

<?xml version="1.0" encoding="utf-8"?>
<findItemsByCategoryRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
  <categoryId>6000</categoryId>
  <paginationInput>
    <entriesPerPage>2</entriesPerPage>
  </paginationInput>
  <affiliate>
    <customId>1234567</customId>
    <networkId>9</networkId>
    <trackingId>campid</trackingId>
  </affiliate>
</findItemsByCategoryRequest>

 

 

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