Changing eBay API target site from US to UK

会有一股神秘感。 提交于 2020-02-22 06:56:26

问题


I currently have working project for uploading my products via API to ebay.com (US) website and I am trying to get it to work for eBay's UK website.

What are the parameters I need to change in my API call, besides following.

  • SiteId : 3 (UK) (in every call)
  • CategorySiteID : 3
  • X-EBAY-API-SITEID : 3
  • AddFixedPriceItemRequest->Item->Country : UK
  • AddFixedPriceItemRequest->Item->Currency : GBP

I have tried to dump request and response object on each step with WarningLevel High with no luck of an error message. Every response gives back success but products do not show up on website. Any help is appreciated.


回答1:


Please read below http://developer.ebay.com/DevZone/finding/Concepts/MakingACall.html#StandardURLParameters

Please try and add below parameter (But don't know exactly)

&GLOBAL-ID=EBAY-GB




回答2:


X-EBAY-API-SITEID : 3(UK) http://www.ebay.co.uk/. So, you will pass query string siteid=3&

EBay Country via side id code. So, Please reffer below link http://developer.ebay.com/devzone/shopping/docs/Concepts/ShoppingAPI_FormatOverview.html

Enumeration Values Value Description Australia Australia, site ID 15, abbreviation AU, currency AUD. Austria Austria, site ID 16, abbreviation AT, currency EUR. Belgium_Dutch Belgium (Dutch), site ID 123, abbreviation BENL, currency EUR. Belgium_French Belgium (French), site ID 23, abbreviation BEFR, currency EUR. Canada Canada, site ID 2, abbreviation CA, currencies CAD and USD. CanadaFrench CanadaFrench, site ID 210, abbreviation CAFR, currencies CAD and USD. China China, site ID 223, abbreviation CN, currency CNY. CustomCode Placeholder value. See token. eBayMotors eBay Motors, site ID 100, currency USD. France France, site ID 71, abbreviation FR, currency EUR. Germany Germany, site ID 77, abbreviation DE, currency EUR. HongKong Hong Kong, site ID 201, abbreviation HK, currency HKD. India India, site ID 203, abbreviation IN, currency INR. Ireland Ireland, site ID 205, abbreviation IE, currency EUR. Italy Italy, site ID 101, abbreviation IT, currency EUR. Malaysia Malaysia, site ID 207, abbreviation MY, currency MYR. Netherlands Netherlands, site ID 146, abbreviation NL, currency EUR. Philippines Philippines, site ID 211, abbreviation PH, currency PHP. Poland Poland, site ID 212, abbreviation PL, currency PLN. Russia Russia, site ID 215, abbreviation RU, currency RUB. Singapore Singapore, site ID 216, abbreviation SG, currency SGD. Spain Spain, site ID 186, abbreviation ES, currency EUR. Sweden Sweden, site ID 218, abbreviation SE, currency SEK. Switzerland Switzerland, site ID 193, abbreviation CH, currency CHF. Taiwan Taiwan, site ID 196, abbreviation TW, currency TWD. UK United Kingdom, site ID 3, abbreviation UK, currency GBP. US USA, site ID 0, abbreviation US, currency USD.




回答3:


It was a problem with my configuration on eBay.co.uk site.



来源:https://stackoverflow.com/questions/17116436/changing-ebay-api-target-site-from-us-to-uk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!