How to connect Shopify to Dolibarr ERP
Updated
Dolibarr is a capable open-source ERP, but it doesn't talk to Shopify out of the box. Without a connector, every Shopify order is retyped as a Dolibarr sales order, and every price or stock change in Dolibarr has to be repeated in Shopify. This guide shows how to connect the two so both stay in step.
What you need
- A Dolibarr instance reachable over the internet, not only on your office network.
- The REST API module enabled in Dolibarr.
- An API key for a Dolibarr user allowed to manage orders, products and third parties.
Prepare Dolibarr
- 1.In Dolibarr, open Home → Setup → Modules and enable the API REST (server) module.
- 2.Open Home → Setup → Users & Groups → Users and choose the user the connector will act as.
- 3.Edit the user, generate an API key, and save. Copy the key.
Connect Shopify
- 1.Tell us about your store and we'll install the CodexpoTech Dolibarr app for you.
- 2.Enter your Dolibarr base URL and the API key.
- 3.Choose which records sync in each direction.
What syncs
- New Shopify orders become Dolibarr sales orders, and customers are created as third parties.
- Edits and cancellations in Shopify update the Dolibarr order.
- Fulfilling an order in Shopify creates the Dolibarr shipment and moves stock.
- Dolibarr products, variants, prices, stock levels and HS codes are published to Shopify.
- Line changes and cancellations made in Dolibarr are pushed back to the Shopify order.
Questions
Does Dolibarr have a Shopify integration built in?
No. Dolibarr exposes a REST API, and a connector such as CodexpoTech uses it to keep Dolibarr and Shopify in sync.
Where do I find my Dolibarr API key?
In Dolibarr, open Home → Setup → Users & Groups → Users, choose your user and generate an API key on the user card. The REST API module must be enabled first.
Can my Dolibarr be on a local network?
It must be reachable over the internet so the connector can call its REST API.