Natesan
Natesan

Reputation: 1145

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

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"

Upvotes: 1

Views: 3298

Answers (1)

web-nomad
web-nomad

Reputation: 6013

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>

Upvotes: 2

Related Questions