question

rapalak_9928 avatar image
0 Likes"
rapalak_9928 asked

Is there an API call to get what attributes each category supports?

Is there an API call to get what attributes each category supports?

getcategoryspecifics
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
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @rapalak_9928,

You can use the GetItemAspectsForCategory a list of aspects that are appropriate or necessary for accurately describing items in the specified category.

REF: https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getItemAspectsForCategory

Please follow the procedure mentioned below before making the GetItemAspectsForCategory call:

1. Firstly, you need to call GetDefaultCategoryTreeId to retrieve a reference to the default category tree associated with the specified eBay marketplace ID.

REF: https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getDefaultCategoryTreeId

2. After getting the category_tree_id make a GetCategoryTree call to retrieve the complete category tree that is identified by the category_tree_id parameter.
REF: https://developer.ebay.com/api-docs/commerce/taxonomy/resources/category_tree/methods/getCategoryTree

3. Find the category with leafCategoryTreeNode as true. This type of category is called leaf category and you can use this type of CategoryIDs in your further requests. To learn more about the category tree structure, please take an overview of the Taxonomy API by going through the link given below:


REF: https://developer.ebay.com/api-docs/commerce/taxonomy/static/overview.html

Best Regards ,
eBay Developer Support

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.