我正在尝试使用 SDK ( ebaysdk-python ) 通过他们的 API 添加 eBay 列表。我使用 Trading API Sandbox 在 sandbox.ebay.co.uk 上运行测试。
我在 eBay.co.uk 上销售我的产品,我想以英镑指定价格。产品从波兰发货。有了这些参数,我对英镑货币有疑问。
item = {
"Item": {
...
"Country": "PL",
"Currency": "GBP",
"Site": "UK",
...
}
}
api.execute('AddItem', item)
我收到一个错误:
AddItem: Class: RequestError, Severity: Error, Code: 95, Invalid auction currency. The auction currency specified does not match the auction currency for the selected site.
eBay API 文档说: http: //developer.ebay.com/DevZone/XML/docs/Reference/ebay/types/SiteCodeType.html 所以设置似乎是正确的