Home
Find the answer to your question
How can I get all the categories for my store?
Summary
GetStore returns the store categories hierarchically. Since the categories can be nested very differently from level to level, you essentially need to use recursive logic to retrieve all of them.
Detailed Description
Here is a sample C# code using the .NET SDK to retrieve all the store categories.
using eBay.Service.Core.Sdk;
//iterate through the top level categories
} private void GetChildCategories(StoreCustomCategoryType cat)
//condition to end the recursion
//continue the recursion for each of the child categories
} } |
Additional Information
Documentation: GetStore