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

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Dolibarr REST API

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

[Télécharger](https://downloads.wordpress.org/plugin/dolibarr-rest-api.zip)

 * [Détails](https://fr.wordpress.org/plugins/dolibarr-rest-api/#description)
 * [Avis](https://fr.wordpress.org/plugins/dolibarr-rest-api/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/dolibarr-rest-api/#installation)
 * [Développement](https://fr.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.

## Avis

![](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/) 11 août 2020

thank you dolibarr

 [ Lire l’avis ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Dolibarr REST API » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « Dolibarr REST API » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/dolibarr-rest-api)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/dolibarr-rest-api/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/dolibarr-rest-api/), 
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/)
par [RSS](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.0

 * 2018-11-28
 * Initial release

## Méta

 *  Version **1.0.0**
 *  Dernière mise à jour **il y a 8 ans**
 *  Installations actives **40+**
 *  Version de WordPress ** 4.0 ou plus **
 *  Testé jusqu’à **4.9.29**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/dolibarr-rest-api/)
 * Étiquette
 * [template](https://fr.wordpress.org/plugins/tags/template/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/dolibarr-rest-api/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

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

[Voir tous les avis](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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