05-09-2023 09:13 AM
Hi, I am working on a tool, and when I visit the webpage https://www.ebay.com/itm/155423591481 i can see an item, but if I hit the buy API with the item_ID being set to 155423591481 it can't find the item. Is there a way I can get the item so I can access it's itemAffiliateWebURL property? (This happens to some item's but not others) I could build the affiliate URL by hand, but the specs for that recommend against it, and suggests using the itemAffiliateWebURL property.
05-22-2023 04:46 AM
I believe this is happening because the "itemGroupType" is equal to "SELLER_DEFINED_VARIATIONS", i.e the seller has defined variations to a product that they keep stock of, that the user can change.
In this item's case you can change its size.
In my tools I typically avoid these listings, as in my experience integrating them has been more effort than its worth, so my advice on how to resolve this isn't very good. If making the URL by hand words, go for it.
07-03-2023 03:23 AM
It's possible that the item you're trying to access using the Buy API is no longer available. eBay's inventory is dynamic, and items can be sold or removed from the marketplace at any time. Make sure the item is still listed and available for purchase on the eBay platform. Ensure that your API credentials and permissions are properly set up to access the Buy API and retrieve item details. Check that your API account has the necessary privileges to access item information, including the item Affiliate Web URL property.