Your WooCommerce shop stays as it is, Dokos handles what follows.
Each order placed on WordPress reaches Dokos through a webhook and becomes a sales order. Dokos sends stock levels back to the shop.
- Publisher
- Dokos SAS
- Licence
- AGPLv3
- Dokos version
- v5
- Availability
- Dokos Cloud marketplace
- Documentation
- Read the documentation
Who it is for.
- 01Your WooCommerce shop already runsYou keep your WordPress site as it is. The connector links its orders to your sales management and your stock.
- 02You re-key your web ordersCustomer, shipping address and items are created or found in Dokos when the order arrives.
- 03You sell online and from physical stockAt each stock movement in Dokos, the available quantity is sent back to WooCommerce, variants included.
How it fits in your Dokos site.
The connector is configured in Woocommerce Settings, one document per shop. When you save, Dokos generates the webhook secret and endpoint and creates them in WooCommerce. Each order received is kept as a Woocommerce Order, then gives a Sales Order. Depending on your options, Dokos goes on to create the delivery note, the sales invoice and the payment.
- Documents it reads and writes
- Customer, Address and Customer Group
- Item, Item Template and variants
- Sales Order, Delivery Note, Sales Invoice, Payment Entry
- Warehouse and Price List
- What it adds to your site
- The "Woocommerce Settings" document and a WooCommerce workspace
- The "Woocommerce Orders", with the details received and the processing status
- Mapping of WooCommerce taxes, shipping methods and metadata
- Reports that compare stock between Dokos and WooCommerce
- Works with
- Sales · Stock
What you do with it.
- 01OrdersReceive orders through a webhookIn WooCommerce, you generate a REST API key, then you paste it into Woocommerce Settings with the shop's URL. When you save, Dokos creates the "Order created" webhook. Each order arrives at once in the Woocommerce Orders list, with its status. An hourly job retries the ones that failed.
- 02SalesCreate the sales order and what it needsIf the customer does not exist, Dokos creates it from the order, with a shipping address. If an item is missing, it is created too. The sales order uses the company, naming series, price list and warehouse you set in the settings. Shipping costs and taxes go to the accounts you chose.
- 03InvoicingChain delivery, invoice and paymentThe "Create payments and sales invoice" option generates the sales invoice and its payment entry from the sales order. Delivery notes are created when the WooCommerce order reaches one of the shipping statuses you listed. A refund on the shop side gives a credit note.
- 04StockSend your stock back to the shopAt each stock receipt or issue in Dokos, the quantity is sent to WooCommerce, as actual or projected quantity depending on your choice. An hourly job picks up the items moved in the last two hours. For variable products, the item template receives the sum of its active variants.
- 05BookingsBring in WooCommerce Bookings reservationsIf an order line is for a bookable item, Dokos creates the matching booking. No extra configuration is needed in the connector.
How to get it.
- 01From the Dokos Cloud marketplaceIn your Dokos Cloud dashboard, open the marketplace and install Dokos WooCommerce on your site. No separate subscription is needed for the connector.
- 02Self-hosted
bench get-app https://gitlab.com/dokos/dokos-woocommercethenbench --site your-site install-app dokos_woocommerce. - 03Generate a key in WooCommerceIn WooCommerce, open Settings, Advanced, then REST API, and click "Add key". Copy the key and the secret.
- 04Fill in Woocommerce SettingsPaste the key and the secret, enter the shop's URL, choose the company, the user that creates documents and the tax and shipping accounts, then tick "Enable synchronisation". The webhooks are created when you save.
Prerequisites
- A WooCommerce shop with the REST API enabled
- Dokos version 4 or later, or ERPNext version 15 or later
Frequently asked questions.
Can I connect several shops?
Yes. Create one Woocommerce Settings document per shop.
Is the sales invoice created automatically?
Only if you tick "Create payments and sales invoice" in the settings. Otherwise, the connector stops at the sales order.
In which direction does stock go?
From Dokos to WooCommerce. Synchronisation is based on Dokos stock levels, at each movement, then once an hour for recently moved items.
How do I link variable products?
Create an item template and its variants in Dokos. Link each variant to the WooCommerce variation ID, and the template to the WooCommerce product.
What if the webhook is not created automatically?
Create it by hand in WooCommerce, Settings, Advanced, Webhooks, with the topic "Order created", and the delivery URL and secret shown in Woocommerce Settings.
Works with.
Your shop and your order flows.
Tell us about your WooCommerce shop and how you ship, and we will tell you what the connector already covers.