findItemsByCategory - globalid filter does not always work
I've tested the findItemsByCategory call a few times with a request that uses the GLOBAL-ID parameter to limit the returned items. However I have noticed that the GLOBAL-ID filter does not always work: The globalid EBAY-NL e.g. returns more EBAY-IT auctions than EBAY-NL ones. Can anyone confirm this behaviour?
GLOBAL-ID is supposed to select items from a particular ebay site, but does not do this consistently for some time. You can try the LocatedIn filter. This erratic behavior is also triggered/affected by the AvailableTo filter. Also with category number differences between sites, it might be unreliable to depend on this working.
But that would make AvailableTo redundant. This is a behavior change that correlates loosely with global shipping and the change that allowed LocatedIn and AvailableTo to be used together (1.11.0) The fIA usage details indicate fetch from specific site: *Searching for items available on a specific eBay site The GLOBAL-ID URL parameter (or X-EBAY-SOA-GLOBAL-ID HTTP header) specifies the eBay site to use for searches.*
I don't think it would make AvailableTo redundant. AvailableTo is meant to specify individual countries that the item can be shipped to, and can be a list of 2-digit country codes out of about 200-ish countries. GlobalID is limited to the couple-dozen eBay country-sites. So what I'm suggesting is that: **GlobalID specified in call** = items appearing on that eBay country-site (perhaps implies AvailbleTo the singular primary country that that eBay site serves, such as EBAY-NL) **GlobalID in returned data** = item was originally listed on this (other?) eBay country-site **AvailableTo filter in call** = items available to be shipped to this/these individual countries Mind you, frankly I have little direct experience playing with these various combinations myself in Finding API calls. I'm just stating here my theoretical understanding of them. Maybe I'm right; maybe I'm not.
**AvailableTo is meant to specify individual countries that the item can be shipped to, and can be a list of 2-digit country codes out of about 200-ish countries. ** Ahh I see the distinction. You live in a larger world than I. Mine's limited to EPN countries for eBay.
Did some more tests. Looks like they are returning results based on the region codes. Note the 231494063474 entries - the item ships to Netherlands, but no to the US, but calls do not return the item. So it's ignoring ship to countries when they are individually entered. The request GlobalID appears to have similar meaning as availableTo+region, while the returned GlobalID is indeed the listing site and Country is the item location. ------- Finding -------- ------- Shopping -------- ReqGID GlobalID Country ReqSiteID Site Country ShipsTo 191525863669 EBAY-NL EBAY-DE DE 146 Germany DE Worldwide 131442819368 EBAY-NL EBAY-GB GB 146 UK GB Worldwide 231494063474 EBAY-NL No Result 146 UK GB NL=Y, US=N 281615596610 EBAY-NL EBAY-FR FR 146 France FR Europe 201296431002 EBAY-NL No Result 146 ERR US MX USA 191525863669 EBAY-US EBAY-DE DE 0 Germany DE Worldwide 131442819368 EBAY-US EBAY-GB GB 0 UK GB Worldwide 231494063474 EBAY-US No result 0 UK GB NL=Y, US=N 281615596610 EBAY-US No result 0 ERR France FR Europe 201296431002 EBAY-US EBAY-US MX 0 US MX