Skip to main content
Published: July 29 2010, 3:47:00 PMUpdated: November 28 2020, 8:32:42 PM

I am using GetCategoryFeatures to find categories that have support for the feature VariationsEnabled. I am getting the following categories only as allowing it:
Baby Carriers/ Backpacks
Baby Clothing
Shoes & Trainers
Walkers
Other Baby
Hockey

But I found that my list looks short when compared to the list of categories that support multi-variation listings - http://sellerupdate.ebay.co.uk/april2010/multi-variation-listings.html#02

My request is as below -

 <GetCategoryFeaturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<DetailLevel>ReturnAll</DetailLevel>
<RequesterCredentials>
<eBayAuthToken>token</eBayAuthToken>
</RequesterCredentials>
<FeatureID>VariationsEnabled</FeatureID>
</GetCategoryFeaturesRequest>

Please correct your request to include the ViewAllNodes

 <GetCategoryFeaturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ViewAllNodes>true</ViewAllNodes>
<DetailLevel>ReturnAll</DetailLevel>
<RequesterCredentials>
<eBayAuthToken>token</eBayAuthToken>
</RequesterCredentials>
<FeatureID>VariationsEnabled</FeatureID>
</GetCategoryFeaturesRequest>

Image


Specifying ViewAllNodes as true returns the site defaults along with ALL the categories (leaf and non-leaf) that override the feature settings they inherit. If ViewAllNodes is not specified (default = false) and DetailLevel is set to ReturnAll, eBay returns only the leaf categories that have features that override the settings they inherit. Hence your response missed some categories (20400, 87167, 20433, 11450 to name a few).

Also note that subcategories that have the same feature settings as their parents are not returned in a Category container. So since all CSA categories are enabled for variations, you will only see the parent category 11450 in the response.

 

Attachments
How well did this answer your question?
Answers others found helpful