question

adry_9792 avatar image
0 Likes"
adry_9792 asked

Trying to Add Shoe Size to Filter Ebay Results

Hi there, I am trying to run a keyword search for shoes for a particular size. It seems that even when trying to add the aspect filter this is not narrowing down my results to just that size. Perhaps I have my URL structured wrong? Any assistance would be greatly appreciated. Here is what I have currently where I do get results, but not size specific:

https://api.ebay.com/buy/browse/v1/item_summary/search?q=jordan 1 retro&limit=3&aspect_filter=categoryId:11450,Size:{9}


finditemsbykeywords
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
jitendra_developersupport avatar image
0 Likes"
jitendra_developersupport answered

Hi @adry_9792,

Please make sure to use the correct value for X-EBAY-C-MARKETPLACE-ID header in the request to get the results for an eBay marketplace.

Also, the category ID is required twice; once as a URI parameter and as part of the aspect_filter.

Ref: https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#uri.category_ids


Best Regards,

eBay Developer Support

10 |600

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.