Home
Find the answer to your question
Description
You can make Product API findProducts call to find out if a category is catalog-enabled:
URL format - HTTP GET
http://svcs.ebay.com/services/marketplacecatalog/ProductService/v1?OPERATION-NAME=findProducts&SERVICE-VERSION=1.3.0&SECURITY-APPNAME=YOUR APPID&GLOBAL-ID=EBAY-US&RESPONSE-DATA-FORMAT=XML&productSearch.invocationId=1234567890&productSearch.categoryId=176984&productSearch.keywords=test&productSearch.dataset=DisplayableSearchResults |
XML format - HTTP POST
<findProductsRequest xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"> </findProductsRequest> |
If the category specified is catalog-enabled, the call returns the product list as below:
<findProductsResponse xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"> .... <paginationOutput> |
Otherwise, you will get the Product data is not enabled error. Here is the sample findProducts response for the CategoryID 19027 (Toys & Hobbies:Classic Toys:Other):
<findProductsResponse xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"> <ack>Failure</ack> <errorMessage> <error> <errorId>29</errorId> <domain>Marketplace</domain> <severity>Error</severity> <category>System</category> <message>Product data is not enabled for category ID 19027.</message> <subdomain>MarketplaceCatalog</subdomain> <parameter>19027</parameter> </error> </errorMessage> <version>1.3.1</version> <timestamp>2012-09-20T22:54:19.583Z</timestamp> </findProductsResponse> |