eBay API addItem returns error - <Item.Country> is invalid or missing

StackOverflow https://stackoverflow.com/questions/22496906

  •  17-06-2023
  •  | 
  •  

سؤال

I'm totally new to ebay api. I tried to use addItem api call, I stopped with this error. `

eBay returned the following error(s):

37 : Input data is invalid.
Input data for tag <Item.Country> is invalid or missing. Please check API documentation.

I've given all of their inputs and used their example (addItem code) only.

Site ID is 3 (UK) and currencyID="GBP"

هل كانت مفيدة؟

المحلول

See the link http://developer.ebay.com/devzone/xml/docs/reference/ebay/types/CountryCodeType.html.

Country Code for UK is GB.

So, your xml will be <Country>GB</Country>

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top