{"id":94633,"date":"2018-11-29T08:27:28","date_gmt":"2018-11-29T08:27:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/dolibarr-rest-api\/"},"modified":"2018-11-29T08:27:28","modified_gmt":"2018-11-29T08:27:28","slug":"dolibarr-rest-api","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/dolibarr-rest-api\/","author":15682535,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"4.9.29","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Dolibarr REST API","header_author":"Open-DSI","header_description":"Plugin helper to connect to the Dolibarr (free ERP) REST API.","assets_banners_color":"","last_updated":"2018-11-29 08:27:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/git.open-dsi.fr\/wordpress-plugin\/dolibarr-rest-api","header_author_uri":"https:\/\/www.open-dsi.fr\/","rating":5,"author_block_rating":0,"active_installs":40,"downloads":3738,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1982421","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1982421","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[975],"plugin_category":[43],"plugin_contributors":[147063],"plugin_business_model":[],"class_list":["post-94633","plugin","type-plugin","status-publish","hentry","plugin_tags-template","plugin_category-customization","plugin_contributors-opendsi","plugin_committers-opendsi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dolibarr-rest-api\/assets\/icon-128x128.png?rev=1982421","icon_2x":"https:\/\/ps.w.org\/dolibarr-rest-api\/assets\/icon-256x256.png?rev=1982421","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.\nThis 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.\nThis plugin provides a simple tool for developers to use in their own plugin to connect to the Dolibarr REST API.<\/p>\n\n<!--section=installation-->\n<p>Installing \"Dolibarr REST API\" can be done either by searching for \"Dolibarr REST API\" via the \"Plugins &gt; Add New\" screen in your WordPress dashboard, or by using the following steps:<\/p>\n\n<ol>\n<li>Download the plugin via WordPress.org<\/li>\n<li>Upload the ZIP file through the 'Plugins &gt; Add New &gt; Upload' screen in your WordPress dashboard<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>Dolibarr configuration steps:<\/p>\n\n<ol>\n<li>Activate the REST API for Dolibarr: go to menu <em>Home &gt; Setup &gt; Modules\/Applications<\/em> and activate the <em>API\/Web services (REST server)<\/em>.<\/li>\n<li>Generate and copy the admin user API key: go to menu <em>Home &gt; Users &amp; groups<\/em>, select your admin user in the list. Once on the User card, click the <em>Modify<\/em> button and generate and copy the <em>Key for API<\/em> (see screenshot). Click the <em>Save<\/em> button.<\/li>\n<\/ol>\n\n<p>WordPress configuration steps:\n1. Add the Dolibarr URL and your admin user API key to the <code>wp-config.php<\/code> file. Here is an example:\n    <code>define( 'DOLIBARR_REST_API_URL', 'https:\/\/my-dolibarr.com\/' );\ndefine( 'DOLIBARR_REST_API_USER_KEY', 'M1e57FZ69D0ophaizqTRsNB6lQ3d0EA6' );<\/code><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Does this plugin depend on any others?<\/dt>\n<dd><p>No, but it depends on a working instance of the <a href=\"https:\/\/www.dolibarr.org\/\">Dolibarr ERP<\/a>, accessible from the network.<\/p><\/dd>\n<dt>Does this create new database tables?<\/dt>\n<dd><p>No. There are no new database tables with this plugin.<\/p><\/dd>\n<dt>Does this load additional JS or CSS files ?<\/dt>\n<dd><p>No. This plugin does not load additional CSS or JS files.<\/p><\/dd>\n<dt>What does this plugin do?<\/dt>\n<dd><p>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.).<\/p><\/dd>\n<dt>How can I disable the request cache?<\/dt>\n<dd><p>GET requests can be cached if explicitely stated (see the controller PHP code). Call the page adding <code>&amp;disable_cache=1<\/code> to the URL to disable cache.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>2018-11-28<\/li>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Plugin helper to connect to the Dolibarr (free ERP) REST API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/94633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=94633"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/opendsi"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=94633"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=94633"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=94633"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=94633"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=94633"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=94633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}