Odoo API
12 endpoints for Odoo, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/odoo
- Connects with
- Your own Odoo user on your instance URL (a user with invoicing rights for invoices and payments, sales rights for sales orders)
- Integration page
- Odoo
Read (5)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | List customer invoices with status, amount due and due date, with filters. |
| GET | Read one customer invoice with its lines, contact email and status. |
| GET | Search contacts (customers and vendors) by name, email or company. |
| GET | List the bank and cash journals you can register payments on. |
| GET | List quotations and sales orders with customer, status and total. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Add a customer contact, a person or a company. |
| POST | Create a customer invoice in Draft status. |
| POST | Confirm a draft invoice so it becomes Posted and gets its number. |
| POST | Send a posted invoice to the customer by email, or get it as a download. |
| POST | Register a payment on a posted invoice through the Pay window. |
| POST | Reverse a posted invoice with a credit note. |
| POST | Create a quotation for a customer in the Sales app. |