Title: Dolibarr REST API
Author: Open-DSI
Published: <strong>November 29, 2018</strong>
Last modified: November 29, 2018

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/dolibarr-rest-api/assets/icon-256x256.png?rev=1982421)

# Dolibarr REST API

 By [Open-DSI](https://profiles.wordpress.org/opendsi/)

[Download](https://downloads.wordpress.org/plugin/dolibarr-rest-api.zip)

 * [Details](https://test.wordpress.org/plugins/dolibarr-rest-api/#description)
 * [Reviews](https://test.wordpress.org/plugins/dolibarr-rest-api/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/dolibarr-rest-api/#installation)
 * [Development](https://test.wordpress.org/plugins/dolibarr-rest-api/#developers)

 [Support](https://wordpress.org/support/plugin/dolibarr-rest-api/)

## Description

WordPress plugin helper to connect to the Dolibarr ERP/CRM REST API. Connect to 
Dolibarr through the REST API to send your contacts, WooCommerce products or any
data that will fit in your ERP/CRM.
 This plugin has got no interface. You will 
only get notified in case the Dolibarr API is not correctly configured from the 
WordPress admin “Plugins” screen. This plugin provides a simple tool for developers
to use in their own plugin to connect to the Dolibarr REST API.

## Installation

Installing “Dolibarr REST API” can be done either by searching for “Dolibarr REST
API” via the “Plugins > Add New” screen in your WordPress dashboard, or by using
the following steps:

 1. Download the plugin via WordPress.org
 2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress
    dashboard
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

Dolibarr configuration steps:

 1. Activate the REST API for Dolibarr: go to menu _Home > Setup > Modules/Applications_
    and activate the _API/Web services (REST server)_.
 2. Generate and copy the admin user API key: go to menu _Home > Users & groups_, select
    your admin user in the list. Once on the User card, click the _Modify_ button and
    generate and copy the _Key for API_ (see screenshot). Click the _Save_ button.

WordPress configuration steps:
 1. Add the Dolibarr URL and your admin user API 
key to the `wp-config.php` file. Here is an example: `define( 'DOLIBARR_REST_API_URL','
https://my-dolibarr.com/' ); define( 'DOLIBARR_REST_API_USER_KEY', 'M1e57FZ69D0ophaizqTRsNB6lQ3d0EA6');

## FAQ

  Does this plugin depend on any others?

No, but it depends on a working instance of the [Dolibarr ERP](https://www.dolibarr.org/),
accessible from the network.

  Does this create new database tables?

No. There are no new database tables with this plugin.

  Does this load additional JS or CSS files ?

No. This plugin does not load additional CSS or JS files.

  What does this plugin do?

This plugin is useless on its own. It should be combined with another plugin that
actually interacts with the Dolibarr REST API (agenda, contacts, third parties, 
expense, clients, products, etc.).

  How can I disable the request cache?

GET requests can be cached if explicitely stated (see the controller PHP code). 
Call the page adding `&disable_cache=1` to the URL to disable cache.

## Reviews

![](https://secure.gravatar.com/avatar/98afad03bfe9415366dcdcc1072b45fe3487416675f7b32b70a28724fe117ed1?
s=60&d=retro&r=g)

### 󠀁[thank you dolibarr](https://wordpress.org/support/topic/thank-you-dolibarr/)󠁿

 [bookha](https://profiles.wordpress.org/bookha/) August 11, 2020

thank you dolibarr

 [ Read all 1 review ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Contributors & Developers

“Dolibarr REST API” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Open-DSI ](https://profiles.wordpress.org/opendsi/)

[Translate “Dolibarr REST API” into your language.](https://translate.wordpress.org/projects/wp-plugins/dolibarr-rest-api)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dolibarr-rest-api/),
check out the [SVN repository](https://plugins.svn.wordpress.org/dolibarr-rest-api/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/)
by [RSS](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * 2018-11-28
 * Initial release

## Meta

 *  Version **1.0.0**
 *  Last updated **7 years ago**
 *  Active installations **40+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/dolibarr-rest-api/)
 * Tag
 * [template](https://test.wordpress.org/plugins/tags/template/)
 *  [Advanced View](https://test.wordpress.org/plugins/dolibarr-rest-api/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Contributors

 *   [ Open-DSI ](https://profiles.wordpress.org/opendsi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dolibarr-rest-api/)