I'm looking for an external API that I can integrate with Odoo to automatically collect newsletter sign-ups and add them directly to the mailing list I created in the Email Marketing module. Could someone guide me on how to create and configure such an API endpoint in Odoo to handle this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
No code approach:
Using Automation Rules you can create webhooks that allow to define processing logic when an external party calls that webhook's URL. See https://www.odoo.com/documentation/18.0/applications/studio/automated_actions.html
XML and JSON RPC:
You can take a look at https://www.odoo.com/documentation/18.0/de/developer/reference/external_api.html which holds the documentation for the external API (XML/JSON RPC). Using this, you don't actually need to specify an endpoint since there is just a common one that basically allows to use every model and function already.
Custom controller:
Dedicated API Endpoints can be achieved by creating dedicated controllers (https://www.odoo.com/documentation/18.0/developer/reference/backend/http.html) in a custom module.
REST API:
A more sophisticated integration can be done by utilizing OCA's fastapi integration (https://github.com/OCA/rest-framework).
Thanks Chris, let me check.
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
0
нояб. 25
|
45 | ||
|
|
0
нояб. 25
|
3 | ||
|
|
0
нояб. 25
|
6 | ||
|
|
1
нояб. 25
|
179 | ||
|
|
1
нояб. 25
|
490 |