Odoo CRM supports multiple API types:
The API can be used for various purposes, including:
The official Odoo CRM API does not natively include webhooks. However, there are third-party modules available that add webhook functionality to Odoo.
One such module is the "Odoo Webhooks" module, which allows you to set up webhooks for various events in Odoo. With this module, you can subscribe to events such as placing an order, changing a product's price, collecting data for data-warehousing, integrating accounting software, and filtering order items and informing shippers about orders.
Webhooks in Odoo can be used to execute code after specific events occur, such as creating a new product, updating stock quantities, or confirming a quotation. The webhook data can be stored as JSON or XML.
Webhooks are particularly useful when dealing with data that isn't easily searchable through the Odoo API, or when you would otherwise need to frequently poll for substantial amounts of data.
The "Odoo Webhooks" module depends on the "Odoo REST API" module, which needs to be installed separately. Webhook functionality can be configured either through the API or through the user panel in Odoo.
It's important to note that while these webhook capabilities are available through third-party modules, they are not part of the core Odoo CRM API. To implement webhooks in your Odoo instance, you would need to install and configure the appropriate modules.
Based on the search results, here are the key points about API rate limits for the Odoo CRM API:
The search results do not mention any specific API rate limits for the Odoo CRM API. There is no information provided about maximum request sizes, number of requests allowed per time period, or costs per request.
While explicit rate limits are not mentioned, there are some performance limitations noted:
The standard Odoo API has difficulty handling large data flows and intensive activity. For example, creating more than 2-3 sales orders per second per worker is challenging even on the latest Enterprise versions.
The standard API approach can only accommodate a limited number of concurrent transactions and users without failure.
It cannot accept beyond a limited amount of data and is not very scalable.
To overcome the performance limitations of the standard API, more advanced solutions are suggested:
Advanced API integration - Goes beyond standard ORM features to process more transactions.
High-performance API solution - Uses a split architecture and technologies like multi-threading to handle much higher loads (e.g. 1500 inserts/sec, 10,000 downloads/sec).
The standard API may be sufficient for basic integrations but has limitations for high-volume use cases.
More advanced API architectures may be needed for applications with thousands of concurrent users or large data volumes.
Proper assessment of volume and speed requirements is important when planning Odoo API integrations.
In summary, while no explicit rate limits are documented, there are practical performance limitations to consider when using the standard Odoo API for high-volume integrations. More advanced API solutions may be needed in those cases.
Based on the search results provided, here are the key points regarding the most recent version of the Odoo CRM API:
The most recent major version of Odoo is version 17.0, which was released in November 2023 [3].
Odoo releases major versions annually, with version 17.0 being the latest [3].
Odoo provides support and bug fixing for the 3 most recent major versions [3].
For Odoo Online (SaaS) users, there are intermediary "Online versions" released every two months, with the latest being saas~17.2 released in April 2024 [3].
The Online versions (saas~X.X) are only available for Odoo Online hosting, not for Odoo.sh or On-Premise installations [3].
Access to data via the external API is only available on Custom Odoo pricing plans. It is not available on One App Free or Standard plans [2].
Part of the Models API is accessible over XML-RPC from various programming languages [2].
Odoo Online users are encouraged to upgrade their databases regularly to benefit from the latest features [3].
For developers working with the API, it's recommended to refer to the latest documentation, which is available for version 17.0 [2].
In summary, while the most recent major version is Odoo 17.0, Odoo Online users may have access to even more recent features through the saas~17.2 release. For API development, it's best to refer to the documentation for version 17.0, which represents the latest stable major release.
To get a developer account for Odoo CRM and create an API integration, here are the key steps:
Here's a breakdown of the data models you can interact with using the Odoo CRM API, along with what is possible for each data model:
Key points to consider:
crm.lead
, which represents both leads and opportunities.When interacting with these models via the API, you'll typically use methods like create()
, read()
, write()
, and unlink()
to perform CRUD operations, as well as specialized methods for CRM-specific actions.