Home
Find the answer to your question
How can I find eBay products using categoryID?
Here are the steps for finding product listings by CategoryID with Shopping FindProducts API :
1. Retrieve ProductID , take CategoryID 279 for example
http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=YOUR APPID&siteid=0&version=673&CategoryID=279&AvailableItemsOnly=true&MaxEntries=1 |
If the category is catalog enabled, the ISBN, UPC or EAN along with the ReferenceID, the ID for eBay catalog product will be returned as below. Other wise, 'Not catalog enabled' is returned in FindProducts response for the category of interest.
<?xml version="1.0" encoding="utf-8"?>
108476:2:1055:2569080480:261995690:c0cd3906a21079c819a593aaceb5a0cb:1:1:1:1392022975]]></DetailsURL>
|
2. Find product listings with the ProductID retrieved in step 2
http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=YOUR APPID&siteid=0&version=673&ProductID.type=Reference&ProductID.Value=72750820&IncludeSelector=Items |