How to use Taxonomy API for eBay Trading
Find the answer to your question
Advanced Search
eBay categorize listings into different categories with their respective IDs for in a market place. Categories for each market place are stored in a category tree consist of category tree nodes. Taxonomy API helps sellers and buyers to find the most appropriate category IDs to post listings and to find listings for purchase. For more information about category, please read: http://developer.ebay.com/Devzone/guides/ebayfeatures/Development/Categories-Hierarchy.html
Using Taxonomy API in a Selling Flow
Step 1: Call GET /get_default_category_tree_id to get the default root category reference for a given market place.
Step 2: To find a category to use in the selling flow, use any of the below three calls to find an appropriate category ID:
a. GET /category_tree/{category_tree_id}
b. GET /category_tree/{category_tree_id}/get_category_subtree
c. GET /category_tree/{category_tree_id}/get_category_suggestions
Step 3. Once you decide which category ID to use, find out eBay GTIN mandate for that category. Each category may have zero or more required fields that must be included in the listing input.
For more information about GTIN, please read: https://ebaydts.com/eBayKBDetails?KBid=5061
As of June 2017, to find out GTIN mandate you must use GetCategoryFeatures, GetCategorySpecifics, and GeteBayDetails within Trading API. eBay is working on equivalent RESTful APIs that will provide similar functionality and this will be rolled out in the future.
Step 4. You may use eBay’s RESTful Selling API , or XML based Trading API to list your item.
Using Taxonomy API in a Buying Flow
Step 1: Call GET /get_default_category_tree_id to get the default root category reference for a given market place.
Step 2: You may use GET /category_tree/{category_tree_id}/get_category_suggestions to find suggested leave categories and associated IDs with a keyword. This API returns the categories with the highest percentage of listings whose titles or descriptions contains the keyword.
Step 3: Base on category ID, you may use eBay’s RESTful Browse API, or XML based Finding API, Shopping API to search for listings.