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

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Dolibarr REST API

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

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

 * [Detalls](https://ca.wordpress.org/plugins/dolibarr-rest-api/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/dolibarr-rest-api/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/dolibarr-rest-api/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/dolibarr-rest-api/#developers)

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

## Descripció

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.

## Instal·lació

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');

## PMF

  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.

## Ressenyes

![](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 de agost de 2020

thank you dolibarr

 [ Llegiu tota la 1 ressenya ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Col·laboradors i desenvolupadors

«Dolibarr REST API» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

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

[Traduïu «Dolibarr REST API» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/dolibarr-rest-api)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/dolibarr-rest-api/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/dolibarr-rest-api/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/dolibarr-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.0

 * 2018-11-28
 * Initial release

## Meta

 *  Versió **1.0.0**
 *  Darrera actualització **fa 8 anys**
 *  Instal·lacions actives **30+**
 *  Versió del WordPress ** 4.0 o posterior **
 *  Provada fins a **4.9.29**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/dolibarr-rest-api/)
 * Etiqueta
 * [template](https://ca.wordpress.org/plugins/tags/template/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/dolibarr-rest-api/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/dolibarr-rest-api/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/dolibarr-rest-api/)