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.

Odoo Endpoints: Read
EndpointDescription
GET /invoices List customer invoices with status, amount due and due date, with filters.
GET /invoice Read one customer invoice with its lines, contact email and status.
GET /contacts Search contacts (customers and vendors) by name, email or company.
GET /payment-journals List the bank and cash journals you can register payments on.
GET /sales-orders 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.

Odoo Endpoints: Write
EndpointDescription
POST /contacts Add a customer contact, a person or a company.
POST /contacts/{contact_id}/draft-invoices Create a customer invoice in Draft status.
POST /invoices/{invoice_id} Confirm Confirm a draft invoice so it becomes Posted and gets its number.
POST /invoices/{invoice_id}/send-invoice Confirm Send a posted invoice to the customer by email, or get it as a download.
POST /invoices/{invoice_id}/payments Confirm Register a payment on a posted invoice through the Pay window.
POST /invoices/{invoice_id}/credit-notes Confirm Reverse a posted invoice with a credit note.
POST /contacts/{contact_id}/sales-orders Create a quotation for a customer in the Sales app.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.