CategoryType

Contains details about a category.

Types that use CategoryType:

Call that uses one or more fields of CategoryType:

Fields

CategoryID ( string )
CategoryIDPath ( string )
CategoryLevel ( int )
CategoryName ( string )
CategoryNamePath ( string )
CategoryParentID ( string )
CategoryParentName
ItemCount
LeafCategory ( boolean )

CategoryID ( string ) [1]
The numeric ID of a category on eBay.

Use an ID of -1 to retrieve the root category and the top-level (level 1) meta categories. You can determine other CategoryIDs from the response from this call, or from a specific item (retrieved from another call like GetSingleItem), or from the eBay website.
See the Field Index to learn which calls use CategoryID.

CategoryIDPath ( string ) [1]
The fully qualified category ID (e.g., 11700:20625:20635 for Home & Garden:Kitchen:Tools & Gadgets).
See the Field Index to learn which calls use CategoryIDPath.

CategoryLevel ( int ) [1]
The level where the category fits in the site's category hierarchy. For example, if this field has a value of 2, then the category is 2 levels below the root category.

Note that the value of CategoryLevel will always be 1 level below the level of the requested category. To retrieve a category's children, pass its CategoryID back into the request.
See the Field Index to learn which calls use CategoryLevel.

CategoryName ( string ) [1]
Display name of the category as it would appear on the eBay Web site.
See the Field Index to learn which calls use CategoryName.

CategoryNamePath ( string ) [1]
The fully qualified category display name as it would appear on the eBay site (e.g., Home & Garden:Kitchen:Tools & Gadgets).
See the Field Index to learn which calls use CategoryNamePath.

CategoryParentID ( string ) [1]
Category ID identifying a category that is an ancestor of the category indicated in CategoryID.
See the Field Index to learn which calls use CategoryParentID.

CategoryParentName
Not used by any call.

ItemCount
Not used by any call.

LeafCategory ( boolean ) [1]
If true, indicates that the category indicated in CategoryID is a leaf category, in which items may be listed (if the category is not also expired or virtual).
See the Field Index to learn which calls use LeafCategory.

Copyright © 2006–2013 eBay, Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.