05-22-2023 04:13 AM
Below I will paste two responses from the eBay API for browsing, followed by the requests that produced each item.
The crux of the issue is that whilst the eBay market for the UK is able to produce "itemAffiliateWebUrl" values, the Polish market is not. Does this mean that the Polish market is closed to the affiliate scheme? Or is there an error I'm missing.
GB Request:
https://api.ebay.com/buy/browse/v1/item_summary/search?q=Gaming PC&category_ids=171957&filter=price:[0..1000000],priceCurrency:GBP,&limit=100&offset=0&market=EBAY_GB
Item Within GB Response:
{'itemId': 'v1|325595031483|0', 'title': 'Gaming Fast PC Computer Bundle 22" i7 16GB 480GB SSD 1TB HDD GT 1030 Windows 10', 'leafCategoryIds': ['179'], 'categories': [{'categoryId': '179', 'categoryName': 'PC Desktops & All-in-Ones'}, {'categoryId': '58058', 'categoryName': 'Computers/Tablets & Networking'}, {'categoryId': '171957', 'categoryName': 'Desktops & All-in-Ones'}], 'image': {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/uWMAAOSwaAhkJZrI/s-l225.jpg'}, 'price': {'value': '359.99', 'currency': 'GBP'}, 'itemHref': 'https://api.ebay.com/buy/browse/v1/item/v1%7C325595031483%7C0', 'seller': {'username': 'urban-refurb', 'feedbackPercentage': '99.6', 'feedbackScore': 7258, 'sellerAccountType': 'BUSINESS'}, 'condition': 'Excellent - Refurbished', 'conditionId': '2010', 'thumbnailImages': [{'imageUrl': 'https://i.ebayimg.com/images/g/uWMAAOSwaAhkJZrI/s-l1600.jpg'}], 'shippingOptions': [{'shippingCostType': 'FIXED', 'shippingCost': {'value': '0.00', 'currency': 'GBP'}}], 'buyingOptions': ['FIXED_PRICE'], 'itemAffiliateWebUrl': 'https://www.ebay.co.uk/itm/325595031483?hash=item4bcef9e7bb%3Ag%3AuWMAAOSwaAhkJZrI&mkevt=1&mkcid=1&mkrid=710-53481-19255-0&campid=%253CePNCampaignId%253E&customid=%253CreferenceId%253E&toolid=10049', 'itemWebUrl': 'https://www.ebay.co.uk/itm/325595031483?hash=item4bcef9e7bb:g:uWMAAOSwaAhkJZrI', 'itemLocation': {'postalCode': 'WA5***', 'country': 'GB'}, 'additionalImages': [{'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/P3gAAOSwgB1kJZrI/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/l-QAAOSw0XVkJZrI/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/Wq4AAOSwCzZkJZrI/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/Iq8AAOSwSlpkJZrI/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/6eUAAOSwBGJkJZrI/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/-YEAAOSw0DZkJZrI/s-l225.jpg'}], 'adultOnly': False, 'legacyItemId': '325595031483', 'availableCoupons': False, 'itemCreationDate': '2023-03-30T14:23:11.000Z', 'topRatedBuyingExperience': False, 'priorityListing': False, 'listingMarketplaceId': 'EBAY_GB'}This response INCLUDES the "itemAffiliateWebUrl" key.
Polish Request:
https://api.ebay.com/buy/browse/v1/item_summary/search?q=Gaming PC&category_ids=171957&filter=price:[0..1000000],priceCurrency:PLN,&limit=100&offset=0&market=EBAY_PL
Polish Response:
{'itemId': 'v1|404300340060|0', 'title': 'Hardcore komputer do gier // Ryzen 9 5900X, RTX 3090 (24 GB), 32 GB DDR4, 2 TB SSD', 'leafCategoryIds': ['179'], 'categories': [{'categoryId': '179', 'categoryName': 'PC Desktops & All-in-Ones'}, {'categoryId': '58058', 'categoryName': 'Computer, Tablets & Netzwerk'}, {'categoryId': '171957', 'categoryName': 'Desktops & All-in-One-PCs'}], 'image': {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/zcMAAOSwiIBka0Dg/s-l225.jpg'}, 'price': {'value': '6774.13', 'currency': 'PLN', 'convertedFromValue': '1495.00', 'convertedFromCurrency': 'EUR'}, 'itemHref': 'https://api.ebay.com/buy/browse/v1/item/v1%7C404300340060%7C0', 'seller': {'username': 'hardwarestuff4u', 'feedbackPercentage': '100.0', 'feedbackScore': 41, 'sellerAccountType': 'BUSINESS'}, 'condition': 'Sehr gut - Refurbished', 'conditionId': '2020', 'thumbnailImages': [{'imageUrl': 'https://i.ebayimg.com/images/g/zcMAAOSwiIBka0Dg/s-l1200.jpg'}], 'shippingOptions': [{'shippingCostType': 'FIXED', 'shippingCost': {'value': '53.92', 'currency': 'PLN', 'convertedFromValue': '11.90', 'convertedFromCurrency': 'EUR'}}], 'buyingOptions': ['FIXED_PRICE'], 'itemWebUrl': 'https://www.ebay.pl/itm/404300340060?hash=item5e222d9b5c:g:zcMAAOSwiIBka0Dg', 'itemLocation': {'postalCode': '42***', 'country': 'DE'}, 'additionalImages': [{'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/lt8AAOSwvs9ka0Dg/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/pnkAAOSwroBka0Dg/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/mJwAAOSwOkNka0Dg/s-l225.jpg'}, {'imageUrl': 'https://i.ebayimg.com/thumbs/images/g/R~wAAOSwQUhka0Dg/s-l225.jpg'}], 'adultOnly': False, 'legacyItemId': '404300340060', 'availableCoupons': False, 'itemCreationDate': '2023-05-22T10:16:03.000Z', 'topRatedBuyingExperience': False, 'priorityListing': False, 'listingMarketplaceId': 'EBAY_DE'}This response DOES NOT INCLUDE the "itemAffiliateWebUrl" key.