Skip to main content
Published: May 08 2009, 4:18:00 PMUpdated: August 08 2022, 2:16:43 PM

When I make a GetCategories request and specify site ID 0, I get a bunch of motors stuff in the response. Similarly, when I make the same request to the motors site I get a bunch of non-motors stuff. How can I only get back category information relevant to the site I want?

GetCategories will attempt to return as much information as it can unless parameters are used to narrow the results. If only site specific information is desired, the CategorySiteID should be specified. Also be sure and set the correct site ID header in the request. A sample will look like the following:

<?xml version="1.0" encoding="utf-8"?>
<GetCategoriesRequest xmlns="urn:ebay:apis:eBLBaseComponents">


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