Home
Find the answer to your question
Description
You can make Product Services API findProducts call to find out if a category is catalog-enabled:
URL format - HTTP GET
https://svcs.ebay.com/services/marketplacecatalog/ProductService/v1?OPERATION-NAME=findProducts&SERVICE-VERSION=1.3.0&SECURITY-APPNAME=YOUR APPID&GLOBAL-ID=EBAY-MOTOR&RESPONSE-DATA-FORMAT=XML&productSearch.invocationId=000009876541321&productSearch.categoryId=33590&productSearch.keywords=171282&productSearch.dataset=DisplayableSearchResults |
XML format - HTTP POST
findProductsRequest xmlns="http://www.ebay.com/marketplace/marketplacecatalog/v1/services"> |
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"> <productDetails> <products>
... <productStatus> |
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>2022-09-07T20:36:19.902Z</timestamp> </findProductsResponse> |