question

intelligentretail avatar image
0 Likes"
intelligentretail asked ·

Can you please tell us how to get all category structures

Hello, We have using the below code to get all categories hierarchy till leaf category presuming that it would match to what category structure would be available on Ebay website. But some of our customers have been complaining some category structures are missing , for example, Pinbacks, Bobbles, Lunchboxes (all subcategories beneath that) GetCategoriesCall.getAllCategories(apiContext, SITE_CODE, 1, DetailLevelCodeType.RETURN_ALL, 1, new CategoryEventListener() { public void receivedCategories(SiteCodeType siteCodeType, CategoryType[] categoryTypes, String categoryVersion) throws Exception { writeCategoriesBody(categoryTypes, destFile); } }); Can you please suggest us what would be the best way to get all category-sub-category structures till leaf category for all categories
category
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
anisha_developersupport avatar image
0 Likes"
anisha_developersupport answered ·
Hi @intelligentretail , To Get All Category Structures from GetCategories call, go through the doc: https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetCategories.html#Samples Best Regards, eBay Developer Support
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.