如何在Odoo里配置eBay?¶
创建eBay令牌¶
为了生成你的令牌, 你需要在开发者门户<https ://go.developer.ebay.com/> `_.创建一个开发者账号。一旦你登陆, 你可以点击按钮创建 沙箱 秘钥 和 成品 秘钥

在秘钥创建后, 你可以得到你的用户令牌.这么做, 点击在页面底部的链接 得到一个用户令牌 。通过界面, 用你的eBay账号登陆, 然后你可以得到需要在Odoo里配置模块的秘钥和令牌。
在Odoo里设置令牌¶
为了设置eBay集成, 进入菜单
。
首先选择你要使用的是成品还是eBay沙箱。然后填写字段 开发者秘钥 , 令牌 , APP 秘钥 , 认证秘钥 。申请变更。
一旦页面被重新载入, 你需要从eBay同步信息。 同步国家和货币 , 然后你可以填写其他字段。
当所有的字段被填写后, 你可以通过点击按钮同步种类和策略
接受帐户删除通知¶
自2021 9月起,易趣需要支持客户账户删除/关闭通知。因此,当易趣收到账户删除请求时,所有易趣合作伙伴必须确认收到该请求,并在必要时采取进一步行动。
Odoo有一个通知端点来接收这些通知,确认接收到请求,并处理第一组操作,以匿名化**联系人**中的帐户详细信息,并删除客户对门户的访问权限。
重要
请确保正确:ref:设置您对市场帐户删除通知的订阅 <ebay/subscribe-account-deletion-notifications>
,因为在订阅完成之前,易趣可能会暂时禁用相关的易趣帐户。
Verify your installation of Odoo is up to date¶
In order to activate the endpoint, the module eBay Connector - Account Deletion must be installed. If your Odoo database was first created after September 2021, the module is installed automatically and you can proceed to the next step.
将Odoo更新到最新版本¶
The notification endpoint is made available through a new Odoo module; to be able to install it, you must make sure that your Odoo source code is up-to-date.
如果您在Odoo.com或Odoo.sh平台上使用Odoo,则您的代码已经是最新的,您可以继续执行下一步。
If you use Odoo with an on-premise setup or through a partner, then you must update your installation as detailed in this documentation page or by contacting your integrating partner.
更新可用模块列表¶
New modules must be discovered by your Odoo instance to be available in the
menu.To do so, activate the developer mode, and go to . A wizard will ask for confirmation.
Install the eBay Connector - Account Deletion update¶
警告
You should never install new modules in your production database without testing them in a duplicate or staging environment. For Odoo.com customers, a duplicate database can be created from the database management page. For Odoo.sh users, you should use a staging or duplicate database. For on-premise users, you should use a staging environment - you should contact your integrating partner for more information regarding how to test a new module in your particular setup.
To install the module, go to the Apps
search facet and
search for ebay
. If the module eBay Connector - Account Deletion is present and marked as
installed, your Odoo database is already up-to-date and you can proceed with the next step. If it is
not yet installed, install it now.
从Odoo检索端点详细信息¶
端点详细信息可以在以下菜单中找到:销售-->配置-->设置-->易趣
。单击*生成令牌*以检索您的**验证令牌**。

订阅帐户删除通知¶
登录 eBay 开发者门户 然后去 警报和通知.

要订阅删除/关闭通知,易趣需要一些详细信息:
如果无法访问端点,则发送通知的**电子邮件地址**。
端点详细信息:
Odoo帐户删除通知终结点的URL
验证令牌

小技巧
填写电子邮件地址字段后,您可以编辑最后两个字段。
验证与端点的连接¶
在易趣的仪表板中设置检索到的端点详细信息后,考虑使用**发送测试通知**按钮测试连接性。
您应该会收到以下确认消息:“测试通知已成功发送!”

使用更新同步方法¶
如有你有大量产品,由于eBay强制规定的一定时间内请求数量限制,eBay API有时可能拒绝某些同步调用。
为了解决这个问题,开发了一种新的实施机制;但是,默认情况下禁用此更新机制,以避免在现有安装中两个系统并行运行。
如要切换为新同步机制:
启用:ref:
开发者模式<developer-mode>
.前往
存档旧的同步操作(二者名称都是*Ebay:更新产品状态*)
启用新的同步操作(Ebay:获取新订单,默认每15分钟运行一次,及*Ebay:同步库存(以便与“获取新订单”同步)*,默认每天运行一次)
确保两种操作的**下次执行日期**均为最近
从下次执行日期开始,将使用新方法进行同步。