---
title: "WooCommerce ERP Integration from PLN 999 | VulCode"
description: "WooCommerce integration with ERP, Allegro, couriers and KSeF through the REST API and custom plugins from PLN 999, without slowing the store down."
url: "https://vulcode.com/en/services/integrations/woocommerce"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations) [E-commerce platforms](https://vulcode.com/en/services/integrations/ecommerce-platforms)

# WooCommerce integration with ERP, Allegro and couriers

A WooCommerce integration from VulCode connects WooCommerce stores with ERP, the warehouse, Allegro, couriers and KSeF (Poland's national e-invoicing system) through the REST API and signed webhooks, and where it makes sense through a custom plugin. It costs from PLN 999 (about EUR 220) and usually takes 2-3 days. Orders reach the ERP through a queue, and stock and prices come back in batches so a large catalogue does not slow the store down.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## The REST API from outside or a plugin inside the store

WooCommerce offers both routes. The choice depends on where the logic should run.

### An integration through the REST API

- Data flows to a system outside the store: ERP, warehouse, B2B panel.

- You want WordPress updates to leave the integration alone.

- The integration should run even when the store is under load.

A service next to the store: the REST API for reads and writes, webhooks for events.

### A custom WooCommerce plugin

- The change should show in the store itself: cart, order fields, delivery methods.

- You need rules that cannot be set from outside.

A plugin built on WooCommerce hooks, with code in a repository and tests before updates.

## What we sync with WooCommerce

Directions for a typical store with an ERP and Allegro.

**WooCommerce** **ERP and warehouse**

### Orders

the order.created webhook and status changes

### Stock

a warehouse document

in batches of up to 100 products per request

### Prices

a price list change in the ERP

### Products and variants

a new item in the catalogue

### Statuses and tracking number

goods out and dispatch

### Invoice with a KSeF number

KSeF accepting the invoice

a PDF in the shop customer account

## WooCommerce REST API rules that shape the integration

From the documentation. Each has consequences for performance and reliability.

JSON application/json

```
[
                {
                "Rule": "Authentication","Value": "a consumer key and secret, over HTTPS","What we do": "Separate keys for the integration, with minimal permissions."
                },
              
                {
                "Rule": "Pagination","Value": "10 items by default, totals in headers","What we do": "We set per_page and read X-WP-TotalPages instead of guessing."
                },
              
                {
                "Rule": "Batch operations","Value": "up to 100 objects by default","What we do": "We split stock and price updates into batches of 100."
                },
              
                {
                "Rule": "Webhooks","Value": "disabled after more than 5 failures in a row","What we do": "Monitoring checks that webhooks are active."
                },
              
                {
                "Rule": "Order storage","Value": "HPOS (High-Performance Order Storage) by default in new stores from version 8.2","What we do": "Plugins use the WooCommerce order API, never direct table queries."
                }
              ]
```

The same record in the interface

Rule 5

- Authentication Value a consumer key and secret, over HTTPS What we do Separate keys for the integration, with minimal permissions.

- Pagination Value 10 items by default, totals in headers What we do We set per_page and read X-WP-TotalPages instead of guessing.

- Batch operations Value up to 100 objects by default What we do We split stock and price updates into batches of 100.

- Webhooks Value disabled after more than 5 failures in a row What we do Monitoring checks that webhooks are active.

- Order storage Value HPOS (High-Performance Order Storage) by default in new stores from version 8.2 What we do Plugins use the WooCommerce order API, never direct table queries.

## A WooCommerce integration that does not slow down a store with a large catalogue

Integrations with big WooCommerce stores often slow them down more than customer traffic. We guard against that.

- Integration
  ### Syncing only changes
  A full catalogue import every hour loads the database. We send only what changed.

- ### Batches, not single requests
  A hundred stock changes in one batch request is one WordPress boot instead of a hundred.

- ### Integration traffic off-peak
  Large description and image updates are scheduled for quieter hours.

- ### Orders in HPOS (High-Performance Order Storage)
  The new order tables are faster at volume. We check whether the store uses them.

- ### Plugins doing the same job
  Two stock-sync plugins can overwrite each other. We keep one route per kind of data.

## What we connect WooCommerce to

The most common connections. Each has its own page.

**WooCommerce** REST API and webhooks

- [Subiekt GT and nexo (Polish ERP programs)](https://vulcode.com/en/services/integrations/subiekt-gt)
  documents, stock and prices

- [Comarch Optima](https://vulcode.com/en/services/integrations/comarch-optima)
  orders and settlements

- [Allegro](https://vulcode.com/en/services/integrations/allegro)
  shared stock and orders

- [Couriers](https://vulcode.com/en/services/integrations/couriers)
  points, labels, statuses

- [Payments](https://vulcode.com/en/services/integrations/polish-payments)
  gateway plugins or a custom integration

- [KSeF](https://vulcode.com/en/services/integrations/ksef)
  invoices from orders

## Example: WooCommerce with Subiekt and Allegro

The rollout, step by step.

Scenario

00 / 04

Brief

- **Store**: WooCommerce with a few thousand products
- **ERP**: Subiekt nexo PRO with a warehouse
- **Channels**: The store and Allegro

Steps

- 01 One source of stock

- 02 Orders from webhooks

- 03 Stock in batches

- 04 Invoices to the customer

Step 01 of 04

One source of stock

Subiekt runs stock. The store and Allegro only receive it.

Step 02 of 04

Orders from webhooks

New orders arrive by signed webhook and reach Subiekt through a queue.

Step 03 of 04

Stock in batches

We collect stock changes and send them in batches of 100 so the store stays fast.

Step 04 of 04

Invoices to the customer

The Subiekt invoice, with its KSeF number, appears in the customer's shop account.

Result

The store and Allegro sell from one warehouse, and nobody retypes orders into Subiekt.

## Common questions about WooCommerce

The main questions about a WooCommerce integration: plugin or custom code, performance, updates, cost and code.

**Could a ready plugin do the job?**

Often it can, and then we say so. A custom integration makes sense with an unusual ERP, several channels or rules a plugin does not know.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**How much does a WooCommerce integration with an ERP cost?**

A WooCommerce integration costs from PLN 999 (about EUR 220) for one flow, e.g. orders from WooCommerce into Subiekt, under our [API and integrations](https://vulcode.com/en/services/api-integrations) service, and usually takes 2-3 days. Stock, prices, Allegro and invoices in the customer account are further stages. The quote is free and comes back within an hour.

**Will the integration slow the store down?**

No. We sync only changes, in batches of 100 and through a queue, and schedule heavy updates off-peak.

**What about WooCommerce updates?**

A REST API integration is largely independent of them. We test custom plugins on a store copy before updating.

**Will the WooCommerce integration code be mine?**

Yes. Once the work is accepted and paid in full, the economic copyright in the integration code passes to you and you get the repository with run instructions. Open source libraries keep their own licences.

**How do you check a WooCommerce integration before launch?**

On a copy of your store and test data from the ERP. We run an order, a stock change, a cancellation, a return and a connection error, and only then switch the integration on in production.

**What if the WooCommerce integration stops working?**

The integration logs every operation and retries the ones that failed by itself. When the problem does not go away you get a notification, and bugs that come from our work are fixed free of charge within the 90 days of support after launch.

**What if WooCommerce or the ERP changes its API?**

We adjust the integration to the provider's changes: within the 90 days of support included after launch, later under a [maintenance](https://vulcode.com/en/services/website-maintenance) plan or as a separate short order. We follow the provider's change notices and tell you in advance what needs fixing.

## Sources

Technical details come from the WooCommerce documentation and code.

- [WooCommerce REST API](https://woocommerce.github.io/woocommerce-rest-api-docs/)

- [WooCommerce: webhooks](https://woocommerce.com/document/webhooks/)

- [Webhook signature code (class-wc-webhook.php)](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/class-wc-webhook.php)

- [High-Performance Order Storage](https://developer.woocommerce.com/docs/features/high-performance-order-storage/)

## Related pages

Other platforms and what we usually connect to a store.

- [**E-commerce platforms** WooCommerce, Shoper, Shopify, IdoSell and PrestaShop.](https://vulcode.com/en/services/integrations/ecommerce-platforms)

- [**PrestaShop** Modules, the Webservice and version upgrades.](https://vulcode.com/en/services/integrations/prestashop)

- [**Website and store migration** Moving a store to a new system without losing rankings.](https://vulcode.com/en/services/website-and-store-migration)

- [**Subiekt GT and nexo** Subiekt connected to the store.](https://vulcode.com/en/services/integrations/subiekt-gt)

- [**Technical SEO and speed** Store speed and technical SEO.](https://vulcode.com/en/services/technical-seo)

- [**Online stores** A custom store with BLIK payments and InPost shipping.](https://vulcode.com/en/services/online-stores)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## More on this in our blog

- [Shoper, WooCommerce or a custom store: four questions before you choose Pick a store platform by where it stops, not by what it offers on day one. We show the limits of Shoper's plans, what WooCommerce adds through extensions, and the kind of selling where a custom store is the route without workarounds.](https://vulcode.com/en/blog/shoper-woocommerce-or-custom-store)
