naftiko: 1.0.0-alpha2
info:
label: eBay Taxonomy API — Category_tree
description: 'eBay Taxonomy API — Category_tree. 8 operations. Lead operation: eBay Get a Category Tree. Self-contained
Naftiko capability covering one Ebay business surface.'
tags:
- Ebay
- Category_tree
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: taxonomy-category-tree
baseUri: https://api.ebay.com{basePath}
description: eBay Taxonomy API — Category_tree business capability. Self-contained, no shared references.
resources:
- name: category_tree-category_tree_id
path: /category_tree/{category_tree_id}
operations:
- name: getcategorytree
method: GET
description: eBay Get a Category Tree
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_tree_id
in: path
type: string
description: The unique identifier of the eBay category tree. The category tree ID for an eBay marketplace can be
retrieved using the getDefaultCategoryTreeId method.
required: true
- name: Accept-Encoding
in: header
type: string
description: 'This header indicates the compression-encoding algorithms the client accepts for the response. This
value should be set to gzip.
For more '
- name: category_tree-category_tree_id-fetch_item_aspects
path: /category_tree/{category_tree_id}/fetch_item_aspects
operations:
- name: fetchitemaspects
method: GET
description: eBay Get Aspects for All Leaf Categories in a Marketplace
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_tree_id
in: path
type: string
description: The unique identifier of the eBay category tree. The category tree ID for an eBay marketplace can be
retrieved using the getDefaultCategoryTreeId method.
required: true
- name: category_tree-category_tree_id-get_category_subtree
path: /category_tree/{category_tree_id}/get_category_subtree
operations:
- name: getcategorysubtree
method: GET
description: eBay Get a Category Subtree
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_id
in: query
type: string
description: The unique identifier of the category at the top of the subtree being requested. Metadata on this category
and all its descendant categories are retrieved.
<
required: true
- name: category_tree_id
in: path
type: string
description: The unique identifier of the eBay category tree. The category tree ID for an eBay marketplace can be
retrieved using the getDefaultCategoryTreeId method.
required: true
- name: Accept-Encoding
in: header
type: string
description: 'This header indicates the compression-encoding algorithms the client accepts for the response. This
value should be set to gzip.
For more '
- name: category_tree-category_tree_id-get_category_suggestions
path: /category_tree/{category_tree_id}/get_category_suggestions
operations:
- name: getcategorysuggestions
method: GET
description: eBay Get Suggested Categories
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_tree_id
in: path
type: string
description: The unique identifier of the eBay category tree. The category tree ID for an eBay marketplace can be
retrieved using the getDefaultCategoryTreeId method.
required: true
- name: q
in: query
type: string
description: A quoted string that describes or characterizes the item being offered for sale. The string format
is free form, and can contain any combination of phrases or k
required: true
- name: category_tree-category_tree_id-get_compatibility_properties
path: /category_tree/{category_tree_id}/get_compatibility_properties
operations:
- name: getcompatibilityproperties
method: GET
description: eBay Get Compatibility Properties
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_tree_id
in: path
type: string
description: This is the unique identifier of category tree. The following is the list of category_tree_id
values and the eBay marketplaces that they repres
required: true
- name: category_id
in: query
type: string
description: The unique identifier of an eBay category. This eBay category must be a valid eBay category on the
specified eBay marketplace, and the category must support par
required: true
- name: category_tree-category_tree_id-get_compatibility_property_values
path: /category_tree/{category_tree_id}/get_compatibility_property_values
operations:
- name: getcompatibilitypropertyvalues
method: GET
description: eBay Get Compatibility Property Values
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_tree_id
in: path
type: string
description: This is the unique identifier of the category tree. The following is the list of category_tree_id
values and the eBay marketplaces that they re
required: true
- name: compatibility_property
in: query
type: string
description: One compatible vehicle property applicable to the specified eBay marketplace and eBay category is specified
in this required filter. Compatible vehicle properti
required: true
- name: category_id
in: query
type: string
description: The unique identifier of an eBay category. This eBay category must be a valid eBay category on the
specified eBay marketplace, and the category must support par
required: true
- name: filter
in: query
type: string
description: One or more compatible vehicle property name/value pairs are passed in through this query parameter.
The compatible vehicle property name and corresponding valu
- name: category_tree-category_tree_id-get_item_aspects_for_category
path: /category_tree/{category_tree_id}/get_item_aspects_for_category
operations:
- name: getitemaspectsforcategory
method: GET
description: This call returns a list of aspects that are appropriate or necessary for accurately describing
items in the specified leaf category. Each aspect identifies an item attribute (for example, color,) for which the
seller will be require
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: category_id
in: query
type: string
description: The unique identifier of the leaf category for which aspects are being requested.
Note: If the category_id
required: true
- name: category_tree_id
in: path
type: string
description: The unique identifier of the eBay category tree. The category tree ID for an eBay marketplace can be
retrieved using the getDefaultCategoryTreeId method.
required: true
- name: get_default_category_tree_id
path: /get_default_category_tree_id
operations:
- name: getdefaultcategorytreeid
method: GET
description: eBay Get a Default Category Tree ID
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: marketplace_id
in: query
type: string
description: The unique identifier of the eBay marketplace for which the category tree ID is requested. For a list
of supported marketplace IDs, see