Search code examples
ebay-api

eBay API - filter items by store/custom categories


My scenario: I have a client with an eBay store with custom categories. On their website, they would like to list the items they have for sale. They would like this list to be filterable by custom category.

I've been searching for a couple days now, and I'm still a bit unsure about the best way to proceed.

From what I can gather, the only way to get a list of categories defined in a store is through the GetStore call in the Trading API. This seems to be supported, though I need to get a user token from my client's eBay account. I will assume this works.

I do not, however, see any method of filtering items based on custom categories. I've looked through the documentation of both the Trading and Finding APIs, but all I see are filters on pre-defined eBay categories.

Is it possible to filter on custom/store categories?


Solution

  • After digging through and posting in the eBay forums, I found out that no, it is not possible to filter on custom/store defined categories via the API. The only way to filter on custom/store defined categories is on the eBay hosted store.

    This is apparently eBay's way to make the store hosted on their site more feature rich than anything you can do via the API.