Odoo

Save Odoo credentials

Validates and saves base_url + database + username + api_key for the authenticated user. Credentials are tested by authenticating against the live Odoo instance before persisting.

post/api/v1/odoo/connection

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/odoo/connection
  • Auth: BearerAuth (a scheme the document does not define)

Request body

base_urlstring required

Your Odoo instance URL, e.g. https://mycompany.odoo.com

databasestring required

Odoo database name (for Odoo.com, usually the subdomain of the instance URL)

usernamestring required

Your Odoo login (typically the user's e-mail)

api_keystring required

API key generated under Odoo → Preferences → Account Security → New API Key

display_namestring

Optional display label for this connection

Response

Credentials saved

configuredboolean
connector_idstring
base_urlstring
databasestring
usernamestring
display_namestring
api_key_setboolean
updated_atnumber

Changes

No recorded changes to this operation across all 1 revision of this API.