question

ampitupco avatar image
0 Likes"
ampitupco asked

Browse API /search itemSummaries itemLocations not fully populated

I'm running a /search using the Browse API, which works well - except I can not pull the itemLocation information I want from the itemSummaries - I get something like this:


{'addressLine1': None, 'addressLine2': None, 'city': None, 'country': 'US', 'county': None, 'stateOrProvince': None, 'postalCode': '750**'}


I'd like access to the city and state here, but they are not populated. Instead, I need to call getItem just to get the city and state, which will quickly eat up my API quota.


Is this expected behavior? Or should the itemLocation in itemSummaries be fully populated?

searchbrowse apiitemlocation
10 |600 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
sagar_developersupport avatar image
-1 Like"
sagar_developersupport answered

Hi @ampitupco ,

Please include fieldgroups parameter in your request URL and set the value as EXTENDED to get the more information under itemLocation field.

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

Here is the sample request URL.
"https://api.ebay.com/buy/browse/v1/item_summary/search?q=iphone&fieldgroups=EXTENDED"

Best regards ,
eBay Developer Support

· 2
10 |600 characters needed characters left characters exceeded

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

Well, that gets me closer - and provides the itemLocation.city - but no stateOrProvince.

0 Likes 0 ·

I'm going to bump this...

Even using the fieldgroups parameter as EXTENDED the Browse API's /item_summary/search call is not returning the state that the item is located in.

Here's the call:

https://api.ebay.com/buy/browse/v1/item_summary/search?q=iphone&fieldgroups=EXTENDED

Here's one result:

"itemLocation": {

"city": "Taunton","postalCode": "027**","country": "US"}

0 Likes 0 ·

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.